Commit b37142b6 authored by Eric Myhre's avatar Eric Myhre

gendemo now uses the standard test mixins.

And with this, the gendemo package both compiles and passes tests
once again.  yay!  Onward!
parent bddec04c
......@@ -2,8 +2,30 @@ package gendemo
import (
"testing"
"github.com/ipld/go-ipld-prime/_rsrch/nodesolution/node/mixins/tests"
)
func TestGennedMapStrInt(t *testing.T) {
CheckMapStrInt(t, Type__Map_K_T{})
tests.SpecTestMapStrInt(t, Type__Map_K_T{})
}
func BenchmarkMapStrInt_3n_AssembleStandard(b *testing.B) {
tests.SpecBenchmarkMapStrInt_3n_AssembleStandard(b, Type__Map_K_T{})
}
func BenchmarkMapStrInt_3n_AssembleDirectly(b *testing.B) {
tests.SpecBenchmarkMapStrInt_3n_AssembleDirectly(b, Type__Map_K_T{})
}
func BenchmarkMapStrInt_3n_Iteration(b *testing.B) {
tests.SpecBenchmarkMapStrInt_3n_Iteration(b, Type__Map_K_T{})
}
func BenchmarkMapStrInt_25n_AssembleStandard(b *testing.B) {
tests.SpecBenchmarkMapStrInt_25n_AssembleStandard(b, Type__Map_K_T{})
}
func BenchmarkMapStrInt_25n_AssembleDirectly(b *testing.B) {
tests.SpecBenchmarkMapStrInt_25n_AssembleDirectly(b, Type__Map_K_T{})
}
func BenchmarkMapStrInt_25n_Iteration(b *testing.B) {
tests.SpecBenchmarkMapStrInt_25n_Iteration(b, Type__Map_K_T{})
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment