Debian Codegraph @

tests/fixedbugs/issue387/issue387_test.go

raw symbols SCIP
1 package issue387scip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/tests/fixedbugs/issue387`/
2
3 import (
4 "testingscip-go gomod github.com/golang/go/src go1.18 testing/"
5 )
6
7 //go:generate go run asm.go -out issue387.s -stubs stub.go
8
9 func TestFloat32scip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/tests/fixedbugs/issue387`/TestFloat32().(t *testingscip-go gomod github.com/golang/go/src go1.18 testing/.Tscip-go gomod github.com/golang/go/src go1.18 testing/T#) {
10 for i := 0; i < 10; i++ {
11 got := Float32scip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/tests/fixedbugs/issue387`/Float32().(i)
12 expect := float32(i)
13 if got != expect {
14 t.Fatalfscip-go gomod github.com/golang/go/src go1.18 testing/common#Fatalf().("Float32(%d) = %#v; expect %#v", i, got, expect)
15 }
16 }
17 }
18
19 func TestFloat64scip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/tests/fixedbugs/issue387`/TestFloat64().(t *testingscip-go gomod github.com/golang/go/src go1.18 testing/.Tscip-go gomod github.com/golang/go/src go1.18 testing/T#) {
20 for i := 0; i < 10; i++ {
21 got := Float64scip-go gomod github.com/mmcloughlin/avo . `github.com/mmcloughlin/avo/tests/fixedbugs/issue387`/Float64().(i)
22 expect := float64(i)
23 if got != expect {
24 t.Fatalfscip-go gomod github.com/golang/go/src go1.18 testing/common#Fatalf().("Float64(%d) = %#v; expect %#v", i, got, expect)
25 }
26 }
27 }