- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testTrueFirst (0.06 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testHashCode() { assertThat(Booleans.hashCode(true)).isEqualTo(Boolean.TRUE.hashCode()); assertThat(Booleans.hashCode(false)).isEqualTo(Boolean.FALSE.hashCode()); } public void testTrueFirst() { assertThat(Booleans.trueFirst().compare(true, true)).isEqualTo(0); assertThat(Booleans.trueFirst().compare(false, false)).isEqualTo(0); assertThat(Booleans.trueFirst().compare(true, false)).isLessThan(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 24.8K bytes - Viewed (0)