aboutsummaryrefslogtreecommitdiff
path: root/test/dz_comp
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-10-31 18:08:32 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-10-31 20:00:03 -0400
commitae3be51b576657d68130040251f15e74ee6bdfcf (patch)
tree924e6fc75652a26c9a5d5186dfad47b4f03817f3 /test/dz_comp
parent05466cf34faedfb9aa46395c41da9b860f1f0f9d (diff)
Add tests based on vm.bqn
Diffstat (limited to 'test/dz_comp')
-rwxr-xr-xtest/dz_comp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dz_comp b/test/dz_comp
index dd0f5e1c..9815bb40 100755
--- a/test/dz_comp
+++ b/test/dz_comp
@@ -9,7 +9,7 @@ exec ← ((rt⌈2×ref)¬nc)◶⟨
Native˙ # Native
{𝕤⋄ ⟨DRun⟩←•Import "../dc.bqn" ⋄ DRun} # Compiled; native runtime
{𝕤⋄ •Import "../bqn.bqn"} # Self-hosted
- {𝕤⋄ •Import "ref.bqn"} # Reference implementations
+ {𝕤⋄ ⟨DRun⟩←•Import "../dc.bqn" ⋄ (•Import"ref.bqn")⊸DRun} # Reference implementations
⟩ @
Cases ← (0<≠)◶0‿('#'≠⊑)¨⊸/ · •FLines "cases/"∾∾⟜".bqn"
@@ -26,4 +26,4 @@ M ← {e‿b:
("!"⊸≡◶⟨<Native,0˙⟩ e) ≢◶""‿Msg <∘Exec⎊0 b
}
r ← (M '%'⊸= (∨´⊣)◶⟨"1"≍○<⊢, Trim¨(+`-2⊸×)⊸⊔⟩ ⊢)¨ c
-•Out ("All "∾(⍕≠c)∾" passed!")⍟(0=≠) ¯1↓∾r
+•Out ("All "∾(•Repr≠c)∾" passed!")⍟(0=≠) ¯1↓∾r