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).

!7

concept Settings {}

module Test extends DynPrintLog {
  start-thread {
    Settings s = uniq(Settings);
    assertNotNull("test 1", s);
    assertEqualsVerbose(ll(s), list(Settings));
    indexSingletonConcept(Settings);
    assertEqualsVerbose(ll(s), list(Settings));
    Settings s2 = uniq(Settings);
    assertSame("settings", s, s2);
  }
}

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: 99 / 200
Version history: 6 change(s)
Referenced in: [show references]