aboutsummaryrefslogtreecommitdiff
package dedo

import (
	"os"
	"testing"
	"testing/internal/testdeps"
)



func api(f *testing.F) {
	f.Fuzz(func(t *testing.T, n int) {
		if n > 1 {
			if n < 2 {
				t.Errorf("Failed n: %v\n", n)
			}
		}
	})
}



func MainTest() {
	fuzzTargets := []testing.InternalFuzzTarget{
		{ "api", api },
	}

	deps := testdeps.TestDeps{}
	tests      := []testing.InternalTest     {}
	benchmarks := []testing.InternalBenchmark{}
	examples   := []testing.InternalExample  {}
	m := testing.MainStart(deps, tests, benchmarks, fuzzTargets, examples)
	os.Exit(m.Run())
}