Libraryless. Click here for Pure Java version (13605L/92K).
1 | scope test_indexSingletonConceptIfUnindexed {
|
2 | |
3 | concept #Bla {}
|
4 | concept #Blo {}
|
5 | |
6 | svoid test_indexSingletonConceptIfUnindexed() {
|
7 | new Concepts cc; |
8 | assertTrue(indexSingletonConceptIfUnindexed(cc, Bla)); |
9 | assertTrue(indexSingletonConceptIfUnindexed(cc, Blo)); |
10 | assertFalse(indexSingletonConceptIfUnindexed(cc, Bla)); |
11 | assertFalse(indexSingletonConceptIfUnindexed(cc, Blo)); |
12 | } |
13 | |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
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: | 455 / 557 |
| Referenced in: | [show references] |