svoid test_MRUAndAllTimeTop() { new MRUAndAllTimeTop m; m.add(1); m.add(1); m.add(5); assertEqualsVerbose(ll(5, 1), asList(m.mixedIterator())); m.add(2); assertEqualsVerbose(ll(2, 1, 5), asList(m.mixedIterator())); m.add(1); assertEqualsVerbose(ll(1, 2, 5), asList(m.mixedIterator())); }
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: | #1024861 |
Snippet name: | test_MRUAndAllTimeTop (OK) |
Eternal ID of this version: | #1024861/2 |
Text MD5: | 73a8ce9e6bcf8706483328732156fbf7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-27 17:27:31 |
Source code size: | 315 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 188 / 222 |
Version history: | 1 change(s) |
Referenced in: | [show references] |