aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-23 21:09:20 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-23 21:09:20 -0500
commit46e98146bf50e12fce72474170645da8040ccf99 (patch)
tree0ab2f708bae1cc96ba1b48bf241845c64bba9859 /test
parent8924da5482d91ad21f56428ea5673560f2a265e7 (diff)
Add shift functions to fill spec
Diffstat (limited to 'test')
-rw-r--r--test/cases/fill.bqn4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cases/fill.bqn b/test/cases/fill.bqn
index ef9e86c3..bf42ee7a 100644
--- a/test/cases/fill.bqn
+++ b/test/cases/fill.bqn
@@ -39,6 +39,8 @@
" cba" ≡ ¯4↑⌽"abc"
"bca " ≡ 4↑1⌽"abc"
≡○»⟜(⊏≍) ⥊<"ab"‿∞
+" bc" ≡ »«"abc"
+" "‿0 ≡ ⊑0⥊»4⥊<"str"‿∞
"c " ≡ 3↑⍉'c'
(≍" ") ≡ »⍉⌊‿1⥊"wxy"
" "≡1↑»3/"ab"
@@ -62,6 +64,8 @@
(' '¨⊸≍"abc") ≡ »"abc"≍"def"
≡○(⊑0⊸⥊)⟜(∾↑) 0‿'a'‿2 + <⟨0,1‿2⟩
0‿0 ≡ ⊑0⊸⥊ 1‿3∾○↕2‿3
+" ax" ≡ »"a"»"xyz"
+0‿0 ≡ ⊑0⊸⥊ 5‿4<⊸«⥊↕2‿2
# Group
"" ≡ ⊑0⥊⟨⟩⊔""