Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,371 for EQUAL (0.1 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/intercept/InterceptScopeTest.groovy

        }
    
        def "method and property scopes with the same name are not equal"() {
            when:
            InterceptScope methodScope = InterceptScope.methodsNamed("name")
            InterceptScope propertyScope = InterceptScope.readsOfPropertiesNamed("name")
    
            then:
            methodScope != propertyScope
        }
    
        def "constructor scopes of the same class are equal"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 03 11:20:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/crypto/internal/edwards25519/scalarmult_test.go

    	var z Scalar
    	var p Point
    	p.ScalarMult(&z, B)
    	if I.Equal(&p) != 1 {
    		t.Error("0*B != 0")
    	}
    	checkOnCurve(t, &p)
    
    	scEight, _ := (&Scalar{}).SetCanonicalBytes([]byte{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0})
    	p.ScalarMult(scEight, B)
    	if B.Equal(&p) != 1 {
    		t.Error("1*B != 1")
    	}
    	checkOnCurve(t, &p)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
        assertTrue(Objects.equal(s1, s2));
    
        assertFalse(Objects.equal(s1, null));
        assertFalse(Objects.equal(null, s1));
        assertFalse(Objects.equal("foo", "bar"));
        assertFalse(Objects.equal("1", 1));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/reporter_test.go

    	x := struct{}{}
    	Expect(r.status).To(Equal(map[string]string{"conA~": "a", "conB~": "a", "conC~": "c", "conD~": "d"}))
    	Expect(r.reverseStatus).To(Equal(map[string]sets.String{"a": {"conA~": x, "conB~": x}, "c": {"conC~": x}, "d": {"conD~": x}}))
    	r.processEvent("conA", typ, "d")
    	Expect(r.status).To(Equal(map[string]string{"conA~": "d", "conB~": "a", "conC~": "c", "conD~": "d"}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. pkg/kube/krt/informer_test.go

    			Namespace: "ns",
    		},
    	}
    	cmt.Create(cmA)
    	tt.WaitOrdered("add/ns/a")
    	assert.Equal(t, ConfigMaps.List(), []*corev1.ConfigMap{cmA})
    
    	cmt.Update(cmA2)
    	tt.WaitOrdered("update/ns/a")
    	assert.Equal(t, ConfigMaps.List(), []*corev1.ConfigMap{cmA2})
    
    	cmt.Create(cmB)
    	tt.WaitOrdered("add/ns/b")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. pkg/proxy/util/nfacct/nfacct_linux_test.go

    	// validate request(NFNL_MSG_ACCT_GET)
    	assert.Equal(t, 1, len(hndlr.requests))
    	assert.Equal(t, cmdGet, hndlr.requests[0].cmd)
    	assert.Equal(t, uint16(unix.NLM_F_REQUEST|unix.NLM_F_DUMP), hndlr.requests[0].flags)
    
    	// validate attributes
    	assert.Equal(t, 0, len(hndlr.requests[0].data))
    
    	// validate response
    	assert.NoError(t, err)
    	assert.NotNil(t, counters)
    	assert.Equal(t, len(expected), len(counters))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. pkg/test/util/yml/parts_test.go

    	"istio.io/istio/pkg/test/util/yml"
    )
    
    func TestEmptyDoc(t *testing.T) {
    	g := NewWithT(t)
    
    	yaml := `
    `
    	parts := yml.SplitString(yaml)
    	g.Expect(len(parts)).To(Equal(0))
    
    	yaml = yml.JoinString(parts...)
    	g.Expect(yaml).To(Equal(""))
    }
    
    func TestSplitWithEmptyPart(t *testing.T) {
    	expected := []string{
    		"a",
    		"b",
    	}
    
    	cases := []struct {
    		name string
    		doc  string
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. pkg/test/util/yml/cache_test.go

    		group:     "networking.istio.io",
    		kind:      "Gateway",
    		namespace: "",
    		name:      "some-ingress",
    	}
    	g.Expect(keys[0]).To(Equal(expected))
    	key1 := keys[0]
    
    	file := c.GetFileFor(keys[0])
    	by, err := os.ReadFile(file)
    	g.Expect(err).To(BeNil())
    	g.Expect(strings.TrimSpace(string(by))).To(Equal(strings.TrimSpace(gateway)))
    
    	keys, err = c.Apply(virtualService)
    	g.Expect(err).To(BeNil())
    	g.Expect(keys).To(HaveLen(1))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. pkg/kubelet/logs/container_log_manager_test.go

    	logs, err := os.ReadDir(dir)
    	require.NoError(t, err)
    	assert.Len(t, logs, 5)
    	assert.Equal(t, testLogs[0], logs[0].Name())
    	assert.Equal(t, testLogs[1]+"."+timestamp, logs[1].Name())
    	assert.Equal(t, testLogs[4]+compressSuffix, logs[2].Name())
    	assert.Equal(t, testLogs[2]+"."+timestamp, logs[3].Name())
    	assert.Equal(t, testLogs[3], logs[4].Name())
    }
    
    func TestClean(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pkg/config/analysis/diag/messages_test.go

    	getDocURL := func(msg Message) string {
    		return msg.Unstructured(false)["documentationUrl"].(string)
    	}
    
    	g.Expect(getDocURL(msgs[0])).To(Equal(url.ConfigAnalysis + "/b1/?ref=istioctl-awesome"))
    	g.Expect(getDocURL(msgs[1])).To(Equal(url.ConfigAnalysis + "/c1/?ref=istioctl-awesome"))
    }
    
    func TestMessages_Filter(t *testing.T) {
    	g := NewWithT(t)
    
    	firstMsg := NewMessage(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top