Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDivide (0.16 sec)

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

        testSortDescending(
            new int[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
            3,
            new int[] {GREATEST - 1, GREATEST - 2, 1, 2});
      }
    
      public void testDivide() {
        for (long a : UNSIGNED_INTS) {
          for (long b : UNSIGNED_INTS) {
            try {
              assertThat(UnsignedInts.divide((int) a, (int) b)).isEqualTo((int) (a / b));
              assertThat(b).isNotEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top