tests improved

This commit is contained in:
2024-06-26 04:29:40 +02:00
parent 7164e8816c
commit fe5c8e9619
8 changed files with 81 additions and 23 deletions
-14
View File
@@ -33,20 +33,6 @@ func runCtxTestSuiteSpec(t *testing.T, ctx ExprContext, section string, inputs [
func runTestSuiteSpec(t *testing.T, section string, inputs []inputType, spec ...int) {
runCtxTestSuiteSpec(t, nil, section, inputs, spec...)
/*
succeeded := 0
failed := 0
for _, count := range spec {
good := doTest(t, nil, section, &inputs[count-1], count)
if good {
succeeded++
} else {
failed++
}
}
t.Logf("%s -- test count: %d, succeeded: %d, failed: %d", section, len(spec), succeeded, failed)
*/
}
func runCtxTestSuite(t *testing.T, ctx ExprContext, section string, inputs []inputType) {