- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testLength (0.04 seconds)
-
android/guava-tests/test/com/google/common/io/CharSourceTester.java
assertExpectedLines(source.readLines()); } public void testIsEmpty() throws IOException { assertEquals(expected.isEmpty(), source.isEmpty()); } public void testLength() throws IOException { assertEquals(expected.length(), source.length()); } public void testLengthIfKnown() throws IOException { Optional<Long> lengthIfKnown = source.lengthIfKnown();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} abstract void doIt(ImmutableLongArray.Builder builder, AtomicLong counter); } private static final Random random = new Random(42); public void testLength() { assertThat(ImmutableLongArray.of().length()).isEqualTo(0); assertThat(ImmutableLongArray.of(0).length()).isEqualTo(1); assertThat(ImmutableLongArray.of(0, 1, 3).length()).isEqualTo(3);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0)