aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-14 21:41:20 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-14 21:41:20 -0500
commit9bae09e3eaf4a0eadd637ab4a7628e45508a0b9c (patch)
treeacf501953c6738a2f291d324009ec41765ea986d /test
parentd4e8cf5c90a2c5b6ed661e468842f34b631dbb44 (diff)
Add tests for Undo on primitives
Diffstat (limited to 'test')
-rw-r--r--test/cases/undo.bqn15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/cases/undo.bqn b/test/cases/undo.bqn
new file mode 100644
index 00000000..d60b9a62
--- /dev/null
+++ b/test/cases/undo.bqn
@@ -0,0 +1,15 @@
+# Primitives
+∧´ {(𝕎≡𝕎⁼)𝕩}⟜¯0.3‿0‿8¨ +‿-‿÷‿¬‿⊢‿⊣‿⌽
+(√√⁼)⊸≡ 0‿0.4‿π‿1e9‿∞
+(⋆⁼⋆)⊸≡ ↕4
+1e¯14>|1-⋆+´⋆⁼1(⊢÷«)1+↕11
+∧´ {𝕩≡6𝕎6𝕎⁼𝕩}⟜1‿2‿3¨ +‿-‿×‿÷‿√‿∧‿¬‿⊢
+0.3‿1.01‿π(⋆⁼⌜≡÷˜⌜○(⋆⁼))0‿2‿5.6‿∞
+(⊢≡⊣⁼˜)"abcd"
+(<⁼<)¨⊸≡⟨0,⟨⟩,"abc"⟩
+(/⁼/)⊸≡1‿0‿2‿4
+⟨⟩≡/⁼⟨⟩
+(3⊸⌽≡2⌽⁼⊢)↕5
+((≢⍉⁼)≡¯1⌽≢)↕↕4
+≡´⍉⍟¯1‿2⥊⟜(↕×´)2‿3‿3
+2‿1(⊢≡⊣⍉⍉⁼)⥊⟜(↕×´)2‿3‿1‿4