Download Jar. Libraryless. Click here for Pure Java version (896L/6K).
!7 p { assertSignEquals(1, compareIgnoreCase_keepSeparate("a", "A")); assertSignEquals(-1, compareIgnoreCase_keepSeparate("A", "a")); assertSignEquals(1, compareIgnoreCase_keepSeparate("b", "A")); assertSignEquals(1, compareIgnoreCase_keepSeparate("B", "a")); assertSignEquals(0, compareIgnoreCase_keepSeparate("A", "A")); assertSignEquals(-1, compareIgnoreCase_keepSeparate(null, "A")); assertSignEquals(1, compareIgnoreCase_keepSeparate("A", null)); assertSignEquals(0, compareIgnoreCase_keepSeparate(null, null)); print("OK"); }
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: | #1012947 |
Snippet name: | Test compareIgnoreCase_keepSeparate (OK) |
Eternal ID of this version: | #1012947/5 |
Text MD5: | f94cc4a406e47c73cc81d04d383700bc |
Transpilation MD5: | e4013e0562d37cb2fac7e6b6f515ea79 |
Author: | stefan |
Category: | |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-18 17:10:14 |
Source code size: | 562 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 506 / 1087 |
Version history: | 4 change(s) |
Referenced in: | [show references] |