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

4
LINES

< > BotCompany Repo | #1012735 // test_splitStringAtIndices

JavaX fragment (include)

1  
static void test_splitStringAtIndices() {
2  
  assertEquals(ll("hel", "lo"), splitStringAtIndices("hello", ll(3)));
3  
  assertEquals(ll("a", "+", "b"), splitStringAtIndices("a+b", ll(1, 2)));
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012735
Snippet name: test_splitStringAtIndices
Eternal ID of this version: #1012735/1
Text MD5: fba1865c635d3aa9a29e6dfe4b7de83f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-11 15:22:32
Source code size: 191 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 434
Referenced in: [show references]