aboutsummaryrefslogtreecommitdiff
path: root/test/bt
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-08 21:14:26 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-08 21:14:26 -0400
commit2ff502e46f9d7e6929059479da2e160d0cbbf5de (patch)
tree4bc056b8ffbdbd3e4f24cec4c7a68d8345b1bb07 /test/bt
parent176c78f51809ba3648d7a4cdedc78553df5904ae (diff)
Organize tests scripts a little better and add README
Diffstat (limited to 'test/bt')
-rwxr-xr-xtest/bt8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/bt b/test/bt
deleted file mode 100755
index 8fdabfe3..00000000
--- a/test/bt
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /usr/bin/env dbqn
-
-dRun ← •EX •path∾"../dc.bqn"
-c ← ∾(•LNS •path∾∾⟜"cases.bqn")¨""‿"b"
-{𝕩: c ∾↩ (¬":"⊑∘∊⊢)¨⊸/ "1 %"⊸∾¨ (3≤≠)◶0‿(('#'≠2⊸⊑)∧" "≡2⊸↑)¨⊸/ •LNS •path∾"testref.bqn" }⍟⊢⊑(<"-ref")∊•args
-M ← {e‿b: (⍎e)⊸≢◶""‿{(@+10)∾˜""""∾b∾""": expected "∾e∾" but received "∾⍕𝕩} DRun b}
-r ← '%' M∘((+`-2⊸×)∘=⊔⊢)¨ c
-• ← ("All "∾(⍕≠c)∾" passed!")⍟(0=≠) ∾r