diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-08 09:25:07 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-08 09:25:52 -0400 |
| commit | 4944dee972f9ac492f3e6afb8518465100b596e3 (patch) | |
| tree | d1a86c64930838290e72751bdd1ac6969fab9f9e /test/bt | |
| parent | 9349cb822b44960aa6072063061ad49d00b73833 (diff) | |
Supppport trains in bytecode backend
Diffstat (limited to 'test/bt')
| -rwxr-xr-x | test/bt | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ #! /usr/bin/env dbqn dRun ← ⟨"dRun"⟩ •EX •path∾"../dcshim.bqn" -c ← (¬"{"⊑∘∊⊢)¨⊸/ •LNS •path∾"cases.bqn" -p ← '%' ⍎⊸≡⟜DRun´∘((+`-2⊸×)∘=⊔⊢)¨ c -• ← "All passed!"⍟(0=≠) /¬p +c ← (¬"{"⊑∘∊⊢)¨⊸/ ∾(•LNS •path∾∾⟜"cases.bqn")¨""‿"b" +M ← {e‿b: (⍎e)⊸≢◶""‿{(•UCS 10)∾˜""""∾b∾""": expected "∾e∾" but received "∾𝕩} DRun b} +r ← '%' M∘((+`-2⊸×)∘=⊔⊢)¨ c +• ← "All passed!"⍟(0=≠) ∾r |
