Libraryless. Click here for Pure Java version (6573L/43K).
svoid test_ai_ruleOfThree_2() { test_ai_ruleOfThree_2(lambda2 ai_ruleOfThree_solver_2); } svoid test_ai_ruleOfThree_2(IF2<S, S, S> f) { S db = [[ If a HTTP request comes in, play a sound If a bell rings, open door ]]; testFunctionValues_twoArgs(f, pair(db, "a HTTP request comes in"), "play a sound", pair(db, "a bell rings"), "open door", pair(db, "something else"), null); }
Began life as a copy of #1028826
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: | #1028839 |
Snippet name: | test_ai_ruleOfThree_2 (OK) |
Eternal ID of this version: | #1028839/4 |
Text MD5: | b2a60df94425ab31d029fbafeaa86a90 |
Transpilation MD5: | 48e2737b353635c52eec18e4fbdb1293 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-09 15:46:00 |
Source code size: | 419 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 224 / 292 |
Version history: | 3 change(s) |
Referenced in: | [show references] |