Libraryless. Click here for Pure Java version (3007L/19K).
svoid test_compareCharIterators() { int tests = 0; for (S a : allABC(4)) for (S b : allABC(4)) { ++tests; assertEquals(sign(cmp(a, b)), sign(compareCharIterators(charIterator(a), charIterator(b)))); } print(nTests(tests) + " OK"); }
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: | #1029164 |
Snippet name: | test_compareCharIterators (OK) |
Eternal ID of this version: | #1029164/4 |
Text MD5: | 00e8cded97efc1cbdb81c02bb4e9f28c |
Transpilation MD5: | 5d862cf080f88c0057c47fe0a221fd7f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-23 13:54:16 |
Source code size: | 266 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 185 / 279 |
Version history: | 3 change(s) |
Referenced in: | [show references] |