Libraryless. Click here for Pure Java version (2944L/18K).
1 | svoid test_gazelle_deepReplaceFullPhrases() {
|
2 | assertEqualsVerbose("hello (people of the wide) world",
|
3 | gazelle_deepReplaceFullPhrases(litcimap("whole wide" := "wide"),
|
4 | "hello (people of the (whole wide)) world")); |
5 | |
6 | // no replacement of single word |
7 | assertEqualsVerbose("hello world",
|
8 | gazelle_deepReplaceFullPhrases(litcimap("world" := "big world"),
|
9 | "hello world")); |
10 | } |
Began life as a copy of #1027142
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: | #1027144 |
| Snippet name: | test_gazelle_deepReplaceFullPhrases (OK) |
| Eternal ID of this version: | #1027144/3 |
| Text MD5: | 5777cf60995b3d31ffdbf822dbad6a73 |
| Transpilation MD5: | 882b35fc4499899dc53a91fb60e10ad0 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-02-22 11:24:01 |
| Source code size: | 406 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 443 / 581 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |