Download Jar. Libraryless. Click here for Pure Java version (6489L/46K).
!7 p-exp { assertEmpty(asList(lines_iterator(""))); assertEqualsVerbose(ll("hello"), asList(lines_iterator("hello"))); assertEqualsVerbose(ll("hello"), asList(lines_iterator("hello\n"))); assertEqualsVerbose(ll("hello", "you"), asList(lines_iterator("hello\nyou"))); assertEqualsVerbose(ll("hello", "you"), asList(lines_iterator("hello\nyou\r\n"))); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018480 |
Snippet name: | Test lines_iterator (OK) |
Eternal ID of this version: | #1018480/2 |
Text MD5: | 089ef80bb197d6ad3a813bc4903b6c4c |
Transpilation MD5: | 6ad40f0ca3cc3c5001922fb67912d417 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-01 18:12:47 |
Source code size: | 370 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 407 / 985 |
Version history: | 1 change(s) |
Referenced in: | -