Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setExpectation (0.19 sec)

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

        new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, values()).test();
      }
    
      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
            .roundUnnecessaryShouldThrow()
            .setExpectation(0.33333333333333337, UP, CEILING)
            .setExpectation(0.3333333333333333, HALF_EVEN, FLOOR, DOWN, HALF_UP, HALF_DOWN)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, values()).test();
      }
    
      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
            .roundUnnecessaryShouldThrow()
            .setExpectation(0.33333333333333337, UP, CEILING)
            .setExpectation(0.3333333333333333, HALF_EVEN, FLOOR, DOWN, HALF_UP, HALF_DOWN)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      @GwtIncompatible
      public void testRoundToDouble_Zero() {
        new RoundToDoubleTester(BigInteger.ZERO).setExpectation(0.0, values()).test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigInteger.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
    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

      @GwtIncompatible
      public void testRoundToDouble_Zero() {
        new RoundToDoubleTester(BigInteger.ZERO).setExpectation(0.0, values()).test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigInteger.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
    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)
Back to top