Libraryless. Click here for Pure Java version (8362L/54K).
1 | svoid test_philosophyBot1_addDeepReplacement() {
|
2 | PhilosophyBot1 bot = new([[ |
3 | John is (so tired) |
4 | |
5 | expect (John is tired) |
6 | ]]); |
7 | philosophyBot1_addDeepReplacement(bot, "so tired", "tired"); |
8 | bot.runAndCheckExpectations(); |
9 | |
10 | bot.loadProgram([[ |
11 | I am (so tired) |
12 | expect (I am tired) |
13 | ]]); |
14 | bot.runAndCheckExpectations(); |
15 | } |
Began life as a copy of #1025760
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: | #1027149 |
| Snippet name: | test_philosophyBot1_addDeepReplacement (OK) |
| Eternal ID of this version: | #1027149/3 |
| Text MD5: | 28f24a4eaba2482272e7de47ea236d62 |
| Transpilation MD5: | c6ffb48762e72f4767e8cad228a4e9ae |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-02-22 16:02:38 |
| Source code size: | 360 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 355 / 505 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |