We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e21ddfc commit d79b538Copy full SHA for d79b538
convex-core/src/test/java/convex/lib/TrustActorTest.java
@@ -63,6 +63,10 @@ protected TrustActorTest() throws IOException {
63
assertFalse(evalB(ctx,"(trust/trusted? (mon/all #3 #4 #5) #3)"));
64
assertTrue(evalB(ctx,"(trust/trusted? (mon/all #3 (mon/any #3 #4)) #3)"));
65
66
+ // rule
67
+ assertTrue(evalB(ctx,"(trust/trusted? (mon/rule (fn [s a o] true)) #3)"));
68
+ assertFalse(evalB(ctx,"(trust/trusted? (mon/rule (fn [s a o] false)) #3)"));
69
+
70
}
71
72
@Test
0 commit comments