Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStringUnion (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    	a.Insert("")
    	if !a.Equal(b) {
    		t.Errorf("Expected to be equal: %v vs %v", a, b)
    	}
    
    	a.Delete("")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    }
    
    func TestStringUnion(t *testing.T) {
    	tests := []struct {
    		s1       String
    		s2       String
    		expected String
    	}{
    		{
    			NewString("1", "2", "3", "4"),
    			NewString("3", "4", "5", "6"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top