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

18
LINES

< > BotCompany Repo | #1017766 // Test Baked Bot With VirtualMechLists [OK]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (9089L/51K).

1  
!7
2  
3  
p-exp {
4  
  Class bot = hotwireDependentSharingClasses(#1017706, VirtualMechLists);
5  
  setOpt(bot, mechLibID := null);
6  
  O mechMode = call(bot, 'mechMode);
7  
  print("Have mechMode: " + sfu(mechMode));
8  
  new SimpleMechLists lists;
9  
  lists.verbose = true;
10  
  lists.setText("NL Logic Examples", [[
11  
    input(Working?) => output(Sure)
12  
  ]]);
13  
  set(mechMode, readMode := lists);
14  
  runMain(bot);
15  
  /*mechMode = call(bot, 'mechMode);
16  
  print("Have mechMode: " + sfu(mechMode));*/
17  
  assertEqualsVerbose("Sure", printIndent(callAnswerMethod(bot, "working")));
18  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017766
Snippet name: Test Baked Bot With VirtualMechLists [OK]
Eternal ID of this version: #1017766/8
Text MD5: f37db964ffa1e8f36114bc66fc97128e
Transpilation MD5: 7ade546fba89ecd0bb5853118f28c1ac
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-10 14:53:19
Source code size: 568 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 340 / 900
Version history: 7 change(s)
Referenced in: [show references]