Libraryless. Click here for Pure Java version (2755L/17K).
1 | svoid test_formatWithFragments() {
|
2 | assertEqualsVerbose(Fragment("hello"), formatWithFragments("hello"));
|
3 | class Test {}
|
4 | new Test o; |
5 | new Test x; |
6 | assertEqualsVerbose(ll(Fragment("hello"), o), formatWithFragments("hello *", o));
|
7 | assertEqualsVerbose(ll(o, Fragment("world")), formatWithFragments("* world", o));
|
8 | assertEqualsVerbose(ll(Fragment("hello"), o, Fragment("world bla"), x), formatWithFragments("hello * world bla *", o, x));
|
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: | #1027765 |
| Snippet name: | test_formatWithFragments |
| Eternal ID of this version: | #1027765/2 |
| Text MD5: | 7ddd54785d49dbca535d2b934dc21eec |
| Transpilation MD5: | d10991ad3c03f71cb2fd6b7448a9c5a7 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-10 02:16:25 |
| Source code size: | 453 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 369 / 512 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |