1package dylib 2 3import "testing" 4 5func TestFoo(t *testing.T) { 6 want := 42 7 if got := Foo(); got != want { 8 t.Errorf("got %d ; want %d", got, want) 9 } 10} 11