Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEqualsAndHashCode (0.15 sec)

  1. 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)
  2. 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)
Back to top