- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestPerm (0.15 sec)
-
src/go/types/typeterm_test.go
"~string int ~string int", "myInt int myInt int", "~string ~int ~string ~int", "myInt ~int ~int ∅", } { args := split(test, 4) x := testTerm(args[0]) y := testTerm(args[1]) want1 := testTerm(args[2]) want2 := testTerm(args[3]) if got1, got2 := x.union(y); !got1.equal(want1) || !got2.equal(want2) { t.Errorf("%v.union(%v) = %v, %v; want %v, %v", x, y, got1, got2, want1, want2) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.2K bytes - Viewed (0) -
src/go/types/termlist_test.go
func maketl(s string) termlist { s = strings.ReplaceAll(s, " ", "") names := strings.Split(s, "|") r := make(termlist, len(names)) for i, n := range names { r[i] = testTerm(n) } return r } func TestTermlistAll(t *testing.T) { if !allTermlist.isAll() { t.Errorf("allTermlist is not the set of all types") } } func TestTermlistString(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 7.3K bytes - Viewed (0)