Libraryless. Click here for Pure Java version (3007L/19K).
1 | svoid test_compareCharIterators() { |
2 | int tests = 0; |
3 | for (S a : allABC(4)) |
4 | for (S b : allABC(4)) { |
5 | ++tests; |
6 | assertEquals(sign(cmp(a, b)), sign(compareCharIterators(charIterator(a), charIterator(b)))); |
7 | } |
8 | print(nTests(tests) + " OK"); |
9 | } |
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: | 186 / 281 |
Version history: | 3 change(s) |
Referenced in: | [show references] |