Libraryless. Click here for Pure Java version (13669L/92K).
concept Bla { int a, b; } svoid test_conceptsWithFieldLessThanOrEqualTo () { new Concepts cc; indexConceptFieldDesc(cc, Bla, "a"); Bla x = cnew(cc, Bla, a := 3, b := 3); Bla y = cnew(cc, Bla, a := 5, b := 5); for (int i : ll(7, 9)) cnew(cc, Bla, a := i, b := i); assertEqualsVerbose(litset(x, y), asHashSet(conceptsWithFieldLessThanOrEqualTo(cc, Bla, a := 5))); assertEqualsVerbose(litset(x, y), asHashSet(conceptsWithFieldLessThanOrEqualTo(cc, Bla, b := 5))); }
Began life as a copy of #1029648
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029650 |
Snippet name: | test_conceptsWithFieldLessThanOrEqualTo (indexed & non-indexed, OK) |
Eternal ID of this version: | #1029650/1 |
Text MD5: | bdff474d11e8ebb4dd21c4524af2dbf2 |
Transpilation MD5: | c6a2c92004ed973123225091445c8a39 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-04 20:56:19 |
Source code size: | 498 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 149 / 233 |
Referenced in: | [show references] |