Libraryless. Click here for Pure Java version (1058L/7K/25K).
1 | !752 |
2 | |
3 | p { |
4 | check(""); |
5 | check("\n"); |
6 | check("\n\n"); |
7 | check("\na"); |
8 | check("a\n"); |
9 | check("a"); |
10 | check("b\n\n"); |
11 | check("\n\nc"); |
12 | check("\nd\n"); |
13 | print("..."); |
14 | check("\r\n"); |
15 | } |
16 | |
17 | static void check(S s) { |
18 | assertEquals(s, fromLines(toLines(s))); |
19 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004578 |
Snippet name: | Check if toLines+fromLines gives the exact same string |
Eternal ID of this version: | #1004578/1 |
Text MD5: | f74c0ed1e7eb4138d501217d1c497b7e |
Transpilation MD5: | b3bc7e0a19ca6354a669b2cb97d7c8bf |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-22 14:35:53 |
Source code size: | 277 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 452 / 527 |
Referenced in: | [show references] |