Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testEquals (0.48 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

        new EqualsTester()
            .addEqualityGroup(cartesian, equivalent)
            .addEqualityGroup(different1)
            .addEqualityGroup(different2)
            .testEquals();
      }
    
      public void testCartesianProduct_unrelatedTypes() {
        Set<Integer> x = set(1, 2);
        Set<String> y = set("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(setMethod))
            .addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod))
            .testEquals();
      }
    
      private interface Loser<E extends Throwable> {
        void lose() throws E;
      }
    
      public <T extends Loser<AssertionError>> void testMethod_exceptionTypes()
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(setMethod))
            .addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod))
            .testEquals();
      }
    
      private interface Loser<E extends Throwable> {
        void lose() throws E;
      }
    
      public <T extends Loser<AssertionError>> void testMethod_exceptionTypes()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        new EqualsTester()
            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      public void testMapDifferencePredicateTypical() {
        Map<Integer, String> left = ImmutableMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        new EqualsTester()
            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      public void testMapDifferencePredicateTypical() {
        Map<Integer, String> left = ImmutableMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    // slices before invoking the functions.
    
    var abcd = "abcd"
    var faces = "☺☻☹"
    var commas = "1,2,3,4"
    var dots = "1....2....3....4"
    
    type BinOpTest struct {
    	a string
    	b string
    	i int
    }
    
    func TestEqual(t *testing.T) {
    	// Run the tests and check for allocation at the same time.
    	allocs := testing.AllocsPerRun(10, func() {
    		for _, tt := range compareTests {
    			eql := Equal(tt.a, tt.b)
    			if eql != (tt.i == 0) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top