diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-14 20:21:15 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-14 20:21:15 -0500 |
| commit | d4702524bc6f8279a9fe6f6739183216c07913bf (patch) | |
| tree | fc5d66563fb8f465fd286c1aba41b31265ba762b /test/dz_comp | |
| parent | 5157ac6cb4518c152a2124c73241dc62cf19e59b (diff) | |
Move test cases to their own directory
Diffstat (limited to 'test/dz_comp')
| -rwxr-xr-x | test/dz_comp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dz_comp b/test/dz_comp index c415bdf8..bb6f40dd 100755 --- a/test/dz_comp +++ b/test/dz_comp @@ -25,8 +25,9 @@ GetRT ← {𝕤: Native ← {⍎𝕩} exec ← (rt¬nc)◶⟨Native˙, DRun˙, {𝕩⊸DRun}∘GetRT⟩ @ -c ← ∾(•FLines ∾⟜"cases.bqn")¨""‿"b" -{𝕩: c ∾↩ "1 %"⊸∾¨ (0<≠)◶0‿('#'≠⊑)¨⊸/ •FLines "prim.bqn" }⍟⊢ prim +Cases ← (0<≠)◶0‿('#'≠⊑)¨⊸/ · •FLines "cases/"∾∾⟜".bqn" +c ← ∾ Cases¨ "simple"‿"syntax" +{𝕩: c ∾↩ "1 %"⊸∾¨ Cases "prim" }⍟⊢ prim M ← {e‿b: Err ← {(@+10)∾˜""""∾b∾""": expected "∾e∾" but received "∾⍕𝕩} (Native e) ≢◶""‿Err Exec b |
