Libraryless. Click here for Pure Java version (2560L/16K).
1 | svoid test_toLinesAndBack_nOnly_reversible() {
|
2 | for (S s : ll( |
3 | "", |
4 | "abc", |
5 | "\n", |
6 | "abc\n", |
7 | "abc\r\n", |
8 | "\nbla", |
9 | "\nbla\r" |
10 | )) |
11 | assertEqualsVerbose(s, toLinesAndBack_nOnly_reversible(s)); |
12 | } |
Began life as a copy of #1028223
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028225 |
| Snippet name: | test_toLinesAndBack_nOnly_reversible |
| Eternal ID of this version: | #1028225/1 |
| Text MD5: | 4cd5428b197d48c53959ff3c2c75ffcb |
| Transpilation MD5: | db6c3219906076982b4ba1925e4f97a8 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-27 13:32:08 |
| Source code size: | 229 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 420 / 563 |
| Referenced in: | [show references] |