aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-18 13:24:09 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-18 13:24:09 -0500
commitbcff427614bf4e7f377a1c90408c9b1c3f6d70b0 (patch)
treeabb9acbe3c5437d7eda0729abcb04181d2697e74 /test
parent3db093cf11fa4fcd2337953c9621000a4cdb0271 (diff)
Finish Undo tests
Diffstat (limited to 'test')
-rw-r--r--test/cases/undo.bqn20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/cases/undo.bqn b/test/cases/undo.bqn
index f2a6e1be..5555b9fb 100644
--- a/test/cases/undo.bqn
+++ b/test/cases/undo.bqn
@@ -45,3 +45,23 @@
(4⥊1) ≡ +`⁼ 1+↕4
⟨⟩ ≡ !`⁼⟨⟩
(-⟜» ≡ +`⁼) 2|⌊×⌜˜π+↕5
+
+# Composition
+0.75 % (÷¬)⁼ 4
+4 % ⊢∘√⁼ 2
+(⌽/1‿3)≡(·+`⌽)⁼↕4
+(⌽⊸/1‿3)≡(⌽·-`⌽)⁼↕4
+(¯1‿0+⌜"BQN")≡(1⌽⍉)⁼3‿2⥊"PQMNAB"
+-1 % (3×·√2+¬)⁼6
+1 % (3⊸√+⟜7)⁼2
+9 % (√-2{𝔽})⁼1
+9 % (√-2˙)⁼1
+(2⊸⌽ ≡ 2⊸(-⊸⌽)⁼)"abcde"
+4 % ¯2 ÷˜○¬⁼ ¯1
+1e¯12>|16- 2 ÷˜○(⋆⁼)⁼ 4
+(+`⌾⌽⁼≡+`⁼⌾⌽) ↕4
+2 % ט⍟3⁼256
+√⊘-{𝕗⁼≡6𝕗⁼⊢} ¯3‿2
+∧´ {(𝕎≡𝕎⁼⁼)𝕩}⟜2‿4‿1¨ /‿⌽‿<
+! % /⁼⁼2‿3‿0
+! % /⍟¯1⁼2‿3‿0