aboutsummaryrefslogtreecommitdiff
path: root/test/dz_rt
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-11-27 16:02:34 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-11-27 16:05:28 -0500
commit021fb5911afe12e8f0085a1c1ce6ad397719fe11 (patch)
tree5a7b18cc303efb1473b20c014ebdbf13eb027f3f /test/dz_rt
parentb9a41bf4639343573dbd3b9a25ca3a6e3930cd6b (diff)
Allow testing the runtime in dz_comp, making dzref_full and dz_rt unnecessary
Diffstat (limited to 'test/dz_rt')
-rwxr-xr-xtest/dz_rt21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/dz_rt b/test/dz_rt
deleted file mode 100755
index 9d2f2aa9..00000000
--- a/test/dz_rt
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env dbqn
-
-# Compile and run the primitive implementations, and prim.bqn
-
-⟨ref⟩ ← •Import "../src/pr.bqn"
-⟨DRun,DCompile⟩ ← •Import "../dc.bqn"
-
-provide ← ⟨
- 0≠≡ # IsArray
- ⊑⟨⟩⥊0⊸⥊ # Type
- ⋆⁼ # Log
- ≠¨⊔ # GroupLen
- ∾⊔∘⊢ # GroupOrd
- !,+,-,×,÷,⋆,⌊,=,≤,≢,⥊,⊑,↕,⌜,`,⊘
-⟩
-rt ← •COMP provide⊸(⊣»«)⌾(1⊸⊑) DCompile ref
-
-t ← "¬⟨"‿"⟩" (1⌽⌽⊸∾) (¬∘⊑':'∊⊢)¨⊸/ •LNS "prim.bqn"
-res ← rt DRun ∾ ∾⟜(@+10)¨ t
-
-•Out ("All "∾(⍕≠res)∾" passed!")⍟(0=≠) /res