Debian Codegraph @

examples/add/add_test.go

raw symbols SCIP
1 package add
2
3 import (
4 "testing"
5 "testing/quick"
6 )
7
8 //go:generate go run asm.go -out add.s -stubs stub.go
9
10 func TestAdd(t *testing.T) {
11 expect := func(x, y uint64) uint64 { return x + y }
12 if err := quick.CheckEqual(Add, expect, nil); err != nil {
13 t.Fatal(err)
14 }
15 }