Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1028225 // test_toLinesAndBack_nOnly_reversible

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2560L/16K).

svoid test_toLinesAndBack_nOnly_reversible() {
  for (S s : ll(
    "",
    "abc",
    "\n",
    "abc\n",
    "abc\r\n",
    "\nbla",
    "\nbla\r"
  ))
    assertEqualsVerbose(s, toLinesAndBack_nOnly_reversible(s));
}

Author comment

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: 207 / 282
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)