Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for containsExactlyEntriesIn (0.23 sec)

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

            }
            assertThat(percentiles().indexes(index1, index2).compute(PSEUDORANDOM_DATASET))
                .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
                .containsExactlyEntriesIn(expectedBuilder.buildOrThrow());
          }
        }
      }
    
      public void testPercentiles_indexes_varargsAll_compute_doubleCollection() {
        ArrayList<Integer> indexes = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertThat(map).hasSize(500);
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      // This method tests the int case.
      public void testBuildKeepingLast_bigTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertThat(map).hasSize(500);
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      // This method tests the int case.
      public void testBuildKeepingLast_bigTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        for (int i = 0; i < alternatingKeysAndValues.length; i += 2) {
          expected.put(alternatingKeysAndValues[i], alternatingKeysAndValues[i + 1]);
        }
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      /** No-op test so that the class has at least one method, making Maven's test runner happy. */
      public void testNoop() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top