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

10
LINES

< > BotCompany Repo | #1025760 // test_philosophyBot1_nativePredicateOnLHS

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

Libraryless. Click here for Pure Java version (7274L/47K).

svoid test_philosophyBot1_nativePredicateOnLHS() {
  PhilosophyBot1 bot = new([[
    myPred => ok
    
    expect ok
  ]]);
  bot.addNativePredicate("myPred", () -> true);
  bot.run();
  bot.checkExpectations();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025760
Snippet name: test_philosophyBot1_nativePredicateOnLHS
Eternal ID of this version: #1025760/1
Text MD5: 33df19632965de0a6bd2fbeac8f93fdb
Transpilation MD5: c9b8e5c2a6cadfc933ffdd2d029e0fe5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-18 14:30:58
Source code size: 222 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 214
Referenced in: [show references]