blob: edab81c9d2b808c07f1ada22531f504d05c5b329 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package papod
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())
}
|