aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-24 18:04:36 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-24 18:04:36 -0400
commit96f50367f934165b010156bec3fcec79afdacb86 (patch)
treec8d1b373a54cffcda07b0daffe86572ab1290491 /test
parent318d3d980e4921eb1e49f6cb40ea61bbe4991835 (diff)
Add some tests for not-match and boxing
Diffstat (limited to 'test')
-rw-r--r--test/cases/prim.bqn5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cases/prim.bqn b/test/cases/prim.bqn
index 277bacfe..92f14fc7 100644
--- a/test/cases/prim.bqn
+++ b/test/cases/prim.bqn
@@ -169,6 +169,8 @@
! % "abcd"-"a"
3‿4‿5‿6‿6≡{𝕊⍟(×≡)⊸∾⟜⥊´𝕩}⟨2,1⟩+⟨⟨⟨⟨1,2⟩,3⟩,4⟩,5⟩
3‿2≡≢(↕3)(⊣×⊢⌜)↕2
+(<-4)≡-<4
+(<2)≡1+<1
! % (↕4)×(↕3)⊢⌜↕2
(=¨⟜(⥊⟜(↕×´)3‿4)≡(↕4)=⌜˜4|⊢)1‿6‿8
@@ -230,6 +232,9 @@
¬2‿3‿4≡2‿3
¬1.001≡1.002
'a'≢2
+2≢<2
+2‿3≢2‿4
+2‿3≢≍2‿3
0≡≡'a'
1≡≡↕6
2≡≡↕2‿4