- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testFixedLengthSplitOnlyOneChunk (0.19 sec)
-
guava-tests/test/com/google/common/base/SplitterTest.java
String simple = "abcdef"; Iterable<String> letters = Splitter.fixedLength(2).split(simple); assertThat(letters).containsExactly("ab", "cd", "ef").inOrder(); } public void testFixedLengthSplitOnlyOneChunk() { String simple = "abc"; Iterable<String> letters = Splitter.fixedLength(3).split(simple); assertThat(letters).containsExactly("abc").inOrder(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 29.6K bytes - Viewed (0)