1 | svoid test_joinSubstringObjects() {
|
2 | S s = "hello world"; |
3 | Substring x = joinSubstringObjects(ll( |
4 | Substring(s, 0, 3), Substring(s, 3, 5), Substring(s, 5, 6))); |
5 | assertEqualsVerbose("hello ", str(x));
|
6 | assertSameVerbose(s, x.baseString()); |
7 | } |
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: | #1028132 |
| Snippet name: | test_joinSubstringObjects (OK) |
| Eternal ID of this version: | #1028132/3 |
| Text MD5: | 5272a28d37fea9e33511d2c506506ace |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-23 12:19:45 |
| Source code size: | 254 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 472 / 498 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |