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

15
LINES

< > BotCompany Repo | #1031519 // uniq test

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (21271L/145K).

1  
!7
2  
3  
concept Settings {}
4  
5  
module Test extends DynPrintLog {
6  
  start-thread {
7  
    Settings s = uniq(Settings);
8  
    assertNotNull("test 1", s);
9  
    assertEqualsVerbose(ll(s), list(Settings));
10  
    indexSingletonConcept(Settings);
11  
    assertEqualsVerbose(ll(s), list(Settings));
12  
    Settings s2 = uniq(Settings);
13  
    assertSame("settings", s, s2);
14  
  }
15  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031519
Snippet name: uniq test
Eternal ID of this version: #1031519/7
Text MD5: 63f2a73397bd28b96bb1da46f18411db
Transpilation MD5: 84a8e4abd37304ff32a77b7921e644aa
Author: stefan
Category: javax / concepts
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-18 16:39:45
Source code size: 362 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 103 / 205
Version history: 6 change(s)
Referenced in: [show references]