Download Jar. Libraryless. Click here for Pure Java version (6201L/42K).
1 | !7 |
2 | |
3 | p {
|
4 | autoRestart(); |
5 | //set ai_patternSwitch_upperCaseVars_debug; |
6 | |
7 | S input = "This (bla) is a (sentence)"; |
8 | S op = "this What is a Something"; |
9 | printStruct(ai_operands_upperCaseVars(op, input)); |
10 | assertEqualsVerbose("Any (sentence) can be a (bla)",
|
11 | ai_patternSwitch_upperCaseVars( |
12 | "This YX is a XY", "Any XY can be a YX", input)); |
13 | print("OK");
|
14 | } |
Began life as a copy of #1013231
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013234 |
| Snippet name: | Test ai_patternSwitch_upperCaseVars |
| Eternal ID of this version: | #1013234/7 |
| Text MD5: | e0a85f14382f3f371e137b1e72a552c6 |
| Transpilation MD5: | 289301d0cc226fdf43e398a60f448d1c |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-28 23:47:27 |
| Source code size: | 382 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 703 / 1689 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |