aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-06 13:45:24 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-06 13:45:24 -0400
commit10d462b4a70f91de2d5c617c068298c5f7d82efd (patch)
tree1321fe7946e86df3537525220d00d7022e733d53 /test
parent5cd9e7b5e7a4f4b55814590abdf56254fb84b54e (diff)
Add tests for dzaima/BQN backend
Diffstat (limited to 'test')
-rwxr-xr-xtest/bt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/bt b/test/bt
new file mode 100755
index 00000000..4dc0ab21
--- /dev/null
+++ b/test/bt
@@ -0,0 +1,6 @@
+#! /usr/bin/env dbqn
+
+dRun ← ⟨"dRun"⟩ •EX •path∾"../dcshim.bqn"
+c ← (¬"{"⊑∘∊⊢)¨⊸/ •LNS •path∾"cases.bqn"
+p ← '%' ⍎⊸≡⟜DRun´∘((+`-2⊸×)∘=⊔⊢)¨ c
+• ← "All passed!"⍟(0=≠) /¬p