Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 509 for Equal (0.01 sec)

  1. cni/pkg/iptables/iptables_e2e_linux_test.go

    				assert.Equal(t, residueExists, false)
    				assert.Equal(t, deltaExists, true)
    			}()
    
    			assert.NoError(t, iptConfigurator.CreateHostRulesForHealthChecks())
    			residueExists, deltaExists := iptablescapture.VerifyIptablesState(log, iptConfigurator.ext, builder, &iptVer, &ipt6Ver)
    			assert.Equal(t, residueExists, true)
    			assert.Equal(t, deltaExists, false)
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 10.5K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/option_test.go

    	flags := &pflag.FlagSet{}
    	r := AddRootFlags(flags)
    	impersonateConfig := rest.ImpersonationConfig{}
    	assert.Equal(t, *r.impersonate, impersonateConfig.UserName)
    	assert.Equal(t, *r.impersonateUID, impersonateConfig.UID)
    	assert.Equal(t, *r.impersonateGroup, impersonateConfig.Groups)
    	assert.Equal(t, *r.kubeTimeout, "15s")
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-02 02:51
    - 1.1K bytes
    - Viewed (0)
  3. internal/s3select/sql/value_contrib.go

    	switch op {
    	case opLt:
    		return left.Before(right)
    	case opLte:
    		return left.Before(right) || left.Equal(right)
    	case opGt:
    		return left.After(right)
    	case opGte:
    		return left.After(right) || left.Equal(right)
    	case opEq:
    		return left.Equal(right)
    	case opIneq:
    		return !left.Equal(right)
    	}
    	// This case does not happen
    	return false
    Registered: 2025-05-25 19:28
    - Last Modified: 2021-06-01 21:59
    - 1K bytes
    - Viewed (0)
  4. internal/cachevalue/cache_test.go

    	if err != nil {
    		t.Fatalf("expected nil err, got %v", err)
    	}
    
    	if !t1.Equal(t2) {
    		t.Fatalf("expected time to be equal: %s != %s", t1, t2)
    	}
    
    	time.Sleep(3 * time.Second)
    
    	t3, err := cache.GetWithCtx(ctx)
    	if err != nil {
    		t.Fatalf("expected nil err, got %v", err)
    	}
    
    	if t1.Equal(t3) {
    		t.Fatalf("expected time to be un-equal: %s == %s", t1, t3)
    	}
    }
    
    func TestCache(t *testing.T) {
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-09 14:28
    - 2.7K bytes
    - Viewed (0)
  5. 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: 2025-05-30 12:43
    - Last Modified: 2025-04-10 20:12
    - 2.6K bytes
    - Viewed (0)
  6. internal/etag/etag_test.go

    }
    
    func TestEqual(t *testing.T) {
    	for i, test := range equalTests {
    		A, err := Parse(test.A)
    		if err != nil {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		B, err := Parse(test.B)
    		if err != nil {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if equal := Equal(A, B); equal != test.Equal {
    			t.Fatalf("Test %d: got %v - want %v", i, equal, test.Equal)
    		}
    	}
    }
    
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-09 14:28
    - 12.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 6K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/healthServer_test.go

    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    	assert.Equal(t, watchReady.Load(), true)
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusOK)
    
    	watchReady.Store(false)
    	assert.Equal(t, watchReady.Load(), false)
    	assert.Equal(t, installReady.Load(), true)
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-01-26 20:34
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 3.6K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

              e, obj + " must not be Object#equals to an arbitrary object of another class");
          return;
        }
        fail("Should get equal to incompatible class error");
      }
    
      /** Test proper handling where an object is not equal to one the user has said should be equal */
      public void testInvalidNotEqualsEqualObject() {
        equalsTester.addEqualityGroup(reference, notEqualObject1);
        try {
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-14 19:40
    - 13.1K bytes
    - Viewed (0)
Back to top