- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testRepeat (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/base/StringsTest.java
public void testPadEnd_null() { assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0')); } @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate public void testRepeat() { String input = "20"; assertThat(Strings.repeat(input, 0)).isEqualTo(""); assertThat(Strings.repeat(input, 1)).isEqualTo("20"); assertThat(Strings.repeat(input, 2)).isEqualTo("2020");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0)