Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCountTrue (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

        list.set(0, anotherTrue);
        assertThat(list.get(0)).isSameInstanceAs(true);
        list.set(1, anotherFalse);
        assertThat(list.get(1)).isSameInstanceAs(false);
      }
    
      public void testCountTrue() {
        assertThat(Booleans.countTrue()).isEqualTo(0);
        assertThat(Booleans.countTrue(false)).isEqualTo(0);
        assertThat(Booleans.countTrue(true)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top