Download Jar. Transpiled version (899L) is out of date.
1 | !7 |
2 | |
3 | p { |
4 | check(0, "abc", "ABC"); |
5 | check(0, "abc", "ABC"); |
6 | check(1, "abd", "ABC"); |
7 | check(-1, "abb", "ABC"); |
8 | print("OK"); |
9 | } |
10 | |
11 | svoid check(int x, S a, S b) { |
12 | if (compareIgnoreCase_lower(a, b) != x) |
13 | fail(a + " / " + b); |
14 | if (compareIgnoreCase_lower(b, a) != -x) |
15 | fail(b + " / " + a); |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013288 |
Snippet name: | Test compareIgnoreCase_lower (OK) |
Eternal ID of this version: | #1013288/3 |
Text MD5: | cfd470de3c2c70926e28e06a60c88e90 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-31 07:29:13 |
Source code size: | 313 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 451 / 1083 |
Version history: | 2 change(s) |
Referenced in: | [show references] |