- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testEqualsAndHashCode (0.15 sec)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
} } } public abstract static class AbstractFilteredSetTest<C extends Set<Integer>> extends AbstractFilteredCollectionTest<C> { public void testEqualsAndHashCode() { for (List<Integer> contents : SAMPLE_INPUTS) { Set<Integer> expected = newHashSet(); for (Integer i : contents) { if (EVEN.apply(i)) { expected.add(i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
.of(MEGA_STREAM_POPULATION_VARIANCE); assertThat(stats.min()).isEqualTo(MEGA_STREAM_MIN); assertThat(stats.max()).isEqualTo(MEGA_STREAM_MAX); } public void testEqualsAndHashCode() { new EqualsTester() .addEqualityGroup( Stats.of(1.0, 1.0, 5.0, 5.0), Stats.of(1.0, 1.0, 5.0, 5.0), Stats.of(ImmutableList.of(1.0, 1.0, 5.0, 5.0)),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0)