svoid test_allSubRectsOfSizeIterator() { Rect full = rect(1, 2, 5, 4); assertEqualsVerbose(ll(full), asList(allSubRectsOfSizeIterator(5, 4, full))); assertEqualsVerbose(ll( rect(1, 2, 5, 3), rect(1, 3, 5, 3) ), asList(allSubRectsOfSizeIterator(5, 3, full))); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027217 |
| Snippet name: | test_allSubRectsOfSizeIterator |
| Eternal ID of this version: | #1027217/3 |
| Text MD5: | dd414628b5dffebf704dd66f241f3a5b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-02-26 12:31:39 |
| Source code size: | 278 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 395 / 433 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |