Libraryless. Click here for Pure Java version (2510L/16K).
svoid test_reversedSubstring() { assertEqualsVerbose(reversedSubstring("abcd", 2, 4), "dc"); assertEqualsVerbose(reversedSubstring("abcd", 2, 5), "dc"); assertEqualsVerbose(reversedSubstring("abc", -3, 2), "ba"); assertEqualsVerbose(reversedSubstring("abc", 2, 1), ""); }
Began life as a copy of #1029350
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: | #1029351 |
Snippet name: | test_reversedSubstring (OK) |
Eternal ID of this version: | #1029351/1 |
Text MD5: | 4d5651f21d9fad1b82bd955d74f0b7a1 |
Transpilation MD5: | fc29ef3d1a905fb58dc325c9543694c2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-01 22:44:01 |
Source code size: | 284 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 183 / 261 |
Referenced in: | [show references] |