Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testPlus (0.22 sec)

  1. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(14.0 / (26 + 22), diff.averageLoadPenalty());
        assertEquals(4, diff.evictionCount());
    
        assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two));
      }
    
      public void testPlus() {
        CacheStats one = new CacheStats(11, 13, 15, 13, 11, 9);
        CacheStats two = new CacheStats(53, 47, 41, 39, 37, 35);
    
        CacheStats sum = two.plus(one);
        assertEquals(124, sum.requestCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(14.0 / (26 + 22), diff.averageLoadPenalty());
        assertEquals(4, diff.evictionCount());
    
        assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two));
      }
    
      public void testPlus() {
        CacheStats one = new CacheStats(11, 13, 15, 13, 11, 9);
        CacheStats two = new CacheStats(53, 47, 41, 39, 37, 35);
    
        CacheStats sum = two.plus(one);
        assertEquals(124, sum.requestCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          UnsignedInteger unsignedValue = UnsignedInteger.fromIntBits(value);
          assertThat(unsignedValue.doubleValue())
              .isEqualTo(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          UnsignedInteger unsignedValue = UnsignedInteger.fromIntBits(value);
          assertThat(unsignedValue.doubleValue())
              .isEqualTo(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              .that(unsignedValue.doubleValue())
              .isWithin(0.0)
              .of(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              .that(unsignedValue.doubleValue())
              .isWithin(0.0)
              .of(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FlushablesTest.java

      private Flushable mockFlushable;
    
      public void testFlush_clean() throws IOException {
        // make sure that no exception is thrown regardless of value of
        // 'swallowException' when the mock does not throw an exception.
        setupFlushable(false);
        doFlush(mockFlushable, false, false);
    
        setupFlushable(false);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithEatenException() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FlushablesTest.java

      private Flushable mockFlushable;
    
      public void testFlush_clean() throws IOException {
        // make sure that no exception is thrown regardless of value of
        // 'swallowException' when the mock does not throw an exception.
        setupFlushable(false);
        doFlush(mockFlushable, false, false);
    
        setupFlushable(false);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithEatenException() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
Back to top