Debian Codegraph @

tests/fixedbugs/issue100/minrepro/minrepro_test.go

raw symbols SCIP
1 package minrepro
2
3 import (
4 "testing"
5 )
6
7 //go:generate go run asm.go -out minrepro.s -stubs stub.go
8
9 func TestIssue100(t *testing.T) {
10 n := uint64(100)
11 expect := n * (n + 1) / 2
12 if got := Issue100(); got != expect {
13 t.Fatalf("Issue100() = %v; expect %v", got, expect)
14 }
15 }