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

11
LINES

< > BotCompany Repo | #1017671 // Test VM-wide UniqueString (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (5628L/40K).

1  
!7
2  
3  
import static x30_pkg.x30_util.UniqueString;
4  
import static x30_pkg.x30_util.uniqueString;
5  
6  
p-exp {
7  
  assertSame(uniqueString("hello"), uniqueString("hello"));
8  
  assertEquals("hello", str(uniqueString("hello")));
9  
  assertNotSame(uniqueString("hello"), uniqueString("hallo"));
10  
  print("OK");
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017671
Snippet name: Test VM-wide UniqueString (OK)
Eternal ID of this version: #1017671/3
Text MD5: 6bc5784c5040f270fa813470dedb7e51
Transpilation MD5: a6bec40435d7772032f1552f74002572
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-31 23:11:15
Source code size: 305 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 389 / 973
Version history: 2 change(s)
Referenced in: [show references]