- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testApply (0.08 sec)
-
android/guava-tests/test/com/google/common/base/ConverterTest.java
.testEquals(); } public void testReverseReverse() { Converter<String, Long> converter = STR_TO_LONG; assertEquals(converter, converter.reverse().reverse()); } public void testApply() { assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL)); } private static class StringWrapper { private final String value; public StringWrapper(String value) { this.value = value;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// separate above assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12))); assertEquals(Range.atLeast(4), range.span(Range.atLeast(10))); } public void testApply() { Predicate<Integer> predicate = Range.closed(2, 3); assertFalse(predicate.apply(1)); assertTrue(predicate.apply(2)); assertTrue(predicate.apply(3)); assertFalse(predicate.apply(4)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0)