Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestTermDisjoint (0.19 sec)

  1. src/go/types/typeterm_test.go

    		x := testTerm(args[0])
    		y := testTerm(args[1])
    		want := args[2] == "T"
    		if got := x.subsetOf(y); got != want {
    			t.Errorf("%v.subsetOf(%v) = %v; want %v", x, y, got, want)
    		}
    	}
    }
    
    func TestTermDisjoint(t *testing.T) {
    	for _, test := range []string{
    		"int int F",
    		"~int ~int F",
    		"int ~int F",
    		"int string T",
    		"int ~string T",
    		"int myInt T",
    		"~int ~string T",
    		"~int myInt F",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeterm_test.go

    		x := testTerm(args[0])
    		y := testTerm(args[1])
    		want := args[2] == "T"
    		if got := x.subsetOf(y); got != want {
    			t.Errorf("%v.subsetOf(%v) = %v; want %v", x, y, got, want)
    		}
    	}
    }
    
    func TestTermDisjoint(t *testing.T) {
    	for _, test := range []string{
    		"int int F",
    		"~int ~int F",
    		"int ~int F",
    		"int string T",
    		"int ~string T",
    		"int myInt T",
    		"~int ~string T",
    		"~int myInt F",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:30:58 UTC 2021
    - 5.1K bytes
    - Viewed (0)
Back to top