Libraryless. Click here for Pure Java version (2755L/17K).
svoid test_formatWithFragments() { assertEqualsVerbose(Fragment("hello"), formatWithFragments("hello")); class Test {} new Test o; new Test x; assertEqualsVerbose(ll(Fragment("hello"), o), formatWithFragments("hello *", o)); assertEqualsVerbose(ll(o, Fragment("world")), formatWithFragments("* world", o)); assertEqualsVerbose(ll(Fragment("hello"), o, Fragment("world bla"), x), formatWithFragments("hello * world bla *", o, x)); }
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: | 367 / 508 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |