Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testOnResultOf (0.1 sec)

  1. guava-tests/test/com/google/common/base/EquivalenceTest.java

        IntValue(int value) {
          this.value = value;
        }
    
        @Override
        public String toString() {
          return "value = " + value;
        }
      }
    
      public void testOnResultOf() {
        EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEquivalenceGroup(new IntValue(1), new IntValue(1))
            .addEquivalenceGroup(new IntValue(2))
            .test();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top