aboutsummaryrefslogtreecommitdiff
path: root/test/testref.bqn
diff options
context:
space:
mode:
Diffstat (limited to 'test/testref.bqn')
-rw-r--r--test/testref.bqn48
1 files changed, 44 insertions, 4 deletions
diff --git a/test/testref.bqn b/test/testref.bqn
index dfcf739a..066ca277 100644
--- a/test/testref.bqn
+++ b/test/testref.bqn
@@ -39,7 +39,7 @@
⟨⟩≡↕0
⟨0⟩≡↕1
⟨0,1,2,3,4,5,6⟩≡↕7
-⟩⊣𝕩}0
+⟩⊣𝕩}⍟1 34⥊1
{⟨
⍝ LAYER 1
@@ -77,7 +77,7 @@
1≡¬0
2≡¬¯1
0≡3¬4
-⟩⊣𝕩}0
+⟩⊣𝕩}⍟1 32⥊1
{⟨
2≡4¬3
4≡5¬2
@@ -118,7 +118,7 @@
(2⊸⊑≡⊢´)"a"‿2‿(3‿"d")
2(⊣≡⊢´)"a"‿2‿(3‿"d")
7‿10≡+¨´⟨⟨2,3⟩,⟨5,7⟩⟩
-⟩⊣𝕩}0
+⟩⊣𝕩}⍟1 38⥊1
{⟨
⍝ LAYER 2
@@ -136,5 +136,45 @@
3(+¨≡+⌜)↕6
3‿4‿5‿6‿6≡{F:F⍟(×≡)⊸∾⟜⥊´𝕩}⟨2,1⟩+⟨⟨⟨⟨1,2⟩,3⟩,4⟩,5⟩
(=¨⟜(⥊⟜(↕×´)3‿4)≡(↕4)=⌜˜4|⊢)1‿6‿8
-⟩⊣𝕩}0
+⟩⊣𝕩}⍟1 13⥊1
+
+{⟨
+ ⍝ LAYER 3
+ ⍝ [117,152)
+ 2≡⊑⟨2⟩
+ "ab"≡⊑⟨"ab"⟩
+ 0≡⊑↕20
+ 4≡⊑3‿2‿1⥊4⥊⊸∾5⥊0
+ 'c'≡2⊑"abcd"
+ 'c'≡¯2⊑"abcd"
+ 7≡7⊑↕10
+ 21≡2‿¯3⊑(10×↕3)+⌜↕4
+ 21‿12‿03≡⟨2‿¯3,1‿2,0‿¯1⟩⊑(10×↕3)+⌜↕4
+ "dfeb"≡(⥊¨-⟨3,1,2,5⟩)⊑"abcdef"
+ "abc"≡⟨⟩⊑<"abc"
+ ⟨7,7‿7,7⟩≡⟨⟨⟩,⟨⟨⟩,⟨⟩⟩,⟨⟩⟩⊑<7
+ ⟨7,⟨7,<7⟩⟩≡⟨⟨⟩,⟨⟨⟩,<⟨⟩⟩⟩⊑7
+ "abcfab"≡⥊(↕2‿3)⊑5‿5⥊"abcdef"
+ "aedcaf"≡⥊(-↕2‿3)⊑5‿5⥊"abcdef"
+ (<6⥊0)(⊑≡<∘⊑∘⊢)(6⥊1)⥊5
+ ¯6≡1‿0◶(2‿2⥊0‿0‿-‿0)6
+ ⟨3⟩≡⥊3
+ ⟨3,3,3⟩≡3⥊3
+ 6(⊢⌜≡∾○≢⥊⊢)○↕3
+ (<≡↕)⟨⟩
+ (↕∘⥊≡⥊¨∘↕)9
+ ¬'a'≡<'a'
+ ¬"a"≡≍"a"
+ ¬⟨1,2,⟨4,4⟩,5⟩≡○(2‿2⊸⥊)⟨1,2,⟨3,4⟩,5⟩
+ ¬2‿3‿4≡2‿3
+ ¬1.001≡1.002
+ 'a'≢2
+ 0≡≡'a'
+ 1≡≡↕6
+ 2≡≡↕2‿4
+ 3≡≡<<<4
+ (1¨≡-○≡˜⟜↕¨)⟨0,⟨⟩,⟨1⟩,2,⟨3,4⟩⟩
+ 2≡≡⟨5,⟨'c',+,2⟩⟩
+ 0≡≡⊑⟨-⟩
+⟩⊣𝕩}⍟1 35⥊1