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


< > BotCompany Repo | #1028006 - test_tok_parseRepeatSymbols1 (OK)

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

Libraryless. Click here for Pure Java version (3213L/20K).

svoid test_tok_parseRepeatSymbols1() {
  assertEqualsVerbose(t3("a", "c d", "e f"),
    tok_parseRepeatSymbols1(javaTok("a ||: c d :|| e f")));
    tok_parseRepeatSymbols1(javaTok("a b c")));
  assertEqualsVerbose(t3("", "a c d", "e f"),
    tok_parseRepeatSymbols1(javaTok("a c d :|| e f")));
  assertEqualsVerbose(t3("a", "c d e", ""),
    tok_parseRepeatSymbols1(javaTok("a ||: c d e")));

Author comment

Began life as a copy of #1028005

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028006
Snippet name: test_tok_parseRepeatSymbols1 (OK)
Eternal ID of this version: #1028006/3
Text MD5: bc840b6256dc025be2fc0794c3f35f29
Transpilation MD5: cb2ed6129acbec0a9a259128a5ceb33b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-27 12:52:42
Source code size: 430 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 33 / 80
Version history: 2 change(s)
Referenced in: [show references]

Formerly at &