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

10
LINES

< > BotCompany Repo | #1012992 // Test unquote_accurate (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Transpiled version (945L) is out of date.

1  
!7
2  
3  
p {
4  
  S bad = [["a" or "b"]];
5  
  assertEquals(bad, unquote_accurate(bad));
6  
  assertEquals("a", unquote_accurate([["a"]]));
7  
  assertEquals("a", unquote_accurate("[[a]]"));
8  
  assertEquals("b", unquote_accurate("[=[b]=]"));
9  
  print("OK");
10  
}

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: #1012992
Snippet name: Test unquote_accurate (OK)
Eternal ID of this version: #1012992/2
Text MD5: 820aa5d7360fbffa6821b583dfbd72e3
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-19 17:28:22
Source code size: 249 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 517 / 1097
Version history: 1 change(s)
Referenced in: [show references]