Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAborted (0.12 sec)

  1. src/slices/iter_test.go

    func TestValuesCollect(t *testing.T) {
    	for _, s := range iterTests {
    		got := Collect(Values(s))
    		if !Equal(got, s) {
    			t.Errorf("Collect(Values(%v)) == %v, want %v", s, got, s)
    		}
    	}
    }
    
    func TestSorted(t *testing.T) {
    	s := Sorted(Values(ints[:]))
    	if !IsSorted(s) {
    		t.Errorf("sorted %v", ints)
    		t.Errorf("   got %v", s)
    	}
    }
    
    func TestSortedFunc(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top