Libraryless. Click here for Pure Java version (7274L/47K).
1 | svoid test_philosophyBot1_nativePredicateOnLHS() {
|
2 | PhilosophyBot1 bot = new([[ |
3 | myPred => ok |
4 | |
5 | expect ok |
6 | ]]); |
7 | bot.addNativePredicate("myPred", () -> true);
|
8 | bot.run(); |
9 | bot.checkExpectations(); |
10 | } |
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: | 446 / 564 |
| Referenced in: | [show references] |