Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1027149 // test_philosophyBot1_addDeepReplacement (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8362L/54K).

svoid test_philosophyBot1_addDeepReplacement() {
  PhilosophyBot1 bot = new([[
    John is (so tired)
    
    expect (John is tired)
  ]]);
  philosophyBot1_addDeepReplacement(bot, "so tired", "tired");
  bot.runAndCheckExpectations();
  
  bot.loadProgram([[
    I am (so tired)
    expect (I am tired)
  ]]);
  bot.runAndCheckExpectations();
}

Author comment

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: 166 / 276
Version history: 2 change(s)
Referenced in: [show references]