Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDivNonZeroExact (0.09 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1");
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZeroExact() {
        String runtimeName = System.getProperty("java.runtime.name");
        boolean isAndroid = runtimeName != null && runtimeName.contains("Android");
        for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

                assertEquals("⌊" + p + "/" + q + "⌋", Math.floorDiv(p, q), IntMath.divide(p, q, mode));
              }
            }
          }
        }
      }
    
      @AndroidIncompatible // presumably slow
      public void testDivNonZeroExact() {
        for (int p : NONZERO_INTEGER_CANDIDATES) {
          for (int q : NONZERO_INTEGER_CANDIDATES) {
            // Skip some tests that fail due to GWT's non-compliant int implementation.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
      public void testDivNonZeroExact() {
        for (long p : NONZERO_LONG_CANDIDATES) {
          for (long q : NONZERO_LONG_CANDIDATES) {
            boolean expectedSuccess = (p % q) == 0L;
    
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top