Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestTermlistIsEmpty (0.2 sec)

  1. src/go/types/termlist_test.go

    		"∅ | ∅",
    		"𝓤 | 𝓤",
    		"∅ | 𝓤 | int",
    		"∅ | 𝓤 | int | myInt",
    	} {
    		if got := maketl(want).String(); got != want {
    			t.Errorf("(%v).String() == %v", want, got)
    		}
    	}
    }
    
    func TestTermlistIsEmpty(t *testing.T) {
    	for test, want := range map[string]bool{
    		"∅":             true,
    		"∅ | ∅":         true,
    		"∅ | ∅ | 𝓤":     false,
    		"∅ | ∅ | myInt": false,
    		"𝓤":             false,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/termlist_test.go

    		"∅ | ∅",
    		"𝓤 | 𝓤",
    		"∅ | 𝓤 | int",
    		"∅ | 𝓤 | int | myInt",
    	} {
    		if got := maketl(want).String(); got != want {
    			t.Errorf("(%v).String() == %v", want, got)
    		}
    	}
    }
    
    func TestTermlistIsEmpty(t *testing.T) {
    	for test, want := range map[string]bool{
    		"∅":             true,
    		"∅ | ∅":         true,
    		"∅ | ∅ | 𝓤":     false,
    		"∅ | ∅ | myInt": false,
    		"𝓤":             false,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 07 21:37:14 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top