Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for addEqualityGroup (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
                withNull, getSubjectGenerator().create((Object[]) createArrayWithNullValue()))
            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testNotEqualsEmpty() {
        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
                withNull, getSubjectGenerator().create((Object[]) createArrayWithNullValue()))
            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testNotEqualsEmpty() {
        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

        SetMultimap<K, V> multimap2 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v1()), mapEntry(k0(), v0()), mapEntry(k0(), v4()));
        new EqualsTester().addEqualityGroup(multimap1, multimap2).testEquals();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            assertThrows(IncomparableValueException.class, () -> c.compare(5, 666));
        assertEquals(666, expected.value);
        new EqualsTester()
            .addEqualityGroup(c, Ordering.explicit(42, 5))
            .addEqualityGroup(Ordering.explicit(5, 42))
            .addEqualityGroup(Ordering.explicit(42))
            .testEquals();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_sortingExample() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/OrderingTest.java

            assertThrows(IncomparableValueException.class, () -> c.compare(5, 666));
        assertEquals(666, expected.value);
        new EqualsTester()
            .addEqualityGroup(c, Ordering.explicit(42, 5))
            .addEqualityGroup(Ordering.explicit(5, 42))
            .addEqualityGroup(Ordering.explicit(42))
            .testEquals();
        reserializeAndAssert(c);
      }
    
      public void testExplicit_sortingExample() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=\tUTF-8"))
            .addEqualityGroup(MediaType.parse("text/plain; charset=utf-8; charset=utf-8"))
            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "value"),
                MediaType.create("text", "plain").withParameter("A", "value"))
            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "VALUE"),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        new EqualsTester()
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 100, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.01))
            .addEqualityGroup(BloomFilter.create(Funnels.byteArrayFunnel(), 200, 0.02))
            .addEqualityGroup(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100, 0.01))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/StatsTest.java

            .addEqualityGroup(Stats.of(2.0, 6.0, 2.0, 6.0))
            .addEqualityGroup(
                new Stats(5, -5.5, 55.5, -5.55, 5.55), new Stats(5, -5.5, 55.5, -5.55, 5.55))
            .addEqualityGroup(new Stats(6, -5.5, 55.5, -5.55, 5.55))
            .addEqualityGroup(new Stats(5, -5.6, 55.5, -5.55, 5.55))
            .addEqualityGroup(new Stats(5, -5.5, 55.6, -5.55, 5.55))
            .addEqualityGroup(new Stats(5, -5.5, 55.5, -5.56, 5.55))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/RangeTest.java

        new EqualsTester()
            .addEqualityGroup(Range.all())
            .addEqualityGroup(Range.atLeast(1), Range.downTo(1, CLOSED))
            .addEqualityGroup(Range.greaterThan(1), Range.downTo(1, OPEN))
            .addEqualityGroup(Range.atMost(7), Range.upTo(7, CLOSED))
            .addEqualityGroup(Range.lessThan(7), Range.upTo(7, OPEN))
            .addEqualityGroup(Range.open(1, 7), Range.range(1, OPEN, 7, OPEN))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableMultiset.of(), ImmutableMultiset.of())
            .addEqualityGroup(ImmutableMultiset.of(1), ImmutableMultiset.of(1))
            .addEqualityGroup(ImmutableMultiset.of(1, 1), ImmutableMultiset.of(1, 1))
            .addEqualityGroup(ImmutableMultiset.of(1, 2, 1), ImmutableMultiset.of(2, 1, 1))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top