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

14
LINES

< > BotCompany Repo | #1030275 - test_indexSingletonConceptIfUnindexed

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

Libraryless. Click here for Pure Java version (13605L/92K).

scope test_indexSingletonConceptIfUnindexed {

  concept #Bla {}
  concept #Blo {}
  
  svoid test_indexSingletonConceptIfUnindexed() {
    new Concepts cc;
    assertTrue(indexSingletonConceptIfUnindexed(cc, Bla));
    assertTrue(indexSingletonConceptIfUnindexed(cc, Blo));
    assertFalse(indexSingletonConceptIfUnindexed(cc, Bla));
    assertFalse(indexSingletonConceptIfUnindexed(cc, Blo));
  }
  
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1030275
Snippet name: test_indexSingletonConceptIfUnindexed
Eternal ID of this version: #1030275/1
Text MD5: bd434443dc5b087f967257bd2bd7734d
Transpilation MD5: f1c2689a0de1e216c3791ad13b74d8be
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-25 14:04:15
Source code size: 416 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 10 / 22
Referenced in: [show references]

Formerly at http://tinybrain.de/1030275 & http://1030275.tinybrain.de