Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testDivNonZeroExact (0.25 sec)

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

              assertEquals(p + "/" + q, force32(expected), 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.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  2. 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 {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296");
    
      @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) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296");
    
      @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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/IntMathTest.java

              assertEquals(p + "/" + q, force32(expected), 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.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  6. android/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 {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top