- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testMinus (0.09 sec)
-
guava-tests/test/com/google/common/cache/CacheStatsTest.java
assertEquals(23, stats.totalLoadTime()); assertThat(stats.averageLoadPenalty()).isEqualTo(23.0 / (17 + 19)); assertEquals(27, stats.evictionCount()); } public void testMinus() { CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27); CacheStats two = new CacheStats(53, 47, 43, 41, 37, 31); CacheStats diff = two.minus(one); assertEquals(76, diff.requestCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertExpectedString(writer.toString()); } public void testLines() throws IOException { try (Stream<String> lines = source.lines()) { assertExpectedLines(lines.collect(toImmutableList())); } } public void testCopyTo_appendable() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.3K bytes - Viewed (0)