aboutsummaryrefslogtreecommitdiff
path: root/test/cases/under.bqn
diff options
context:
space:
mode:
Diffstat (limited to 'test/cases/under.bqn')
-rw-r--r--test/cases/under.bqn7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/cases/under.bqn b/test/cases/under.bqn
index d5dcd42d..dc6d62c6 100644
--- a/test/cases/under.bqn
+++ b/test/cases/under.bqn
@@ -39,6 +39,13 @@
"bac"‿'d' ≡ ⌽⌾(2↑⊑)"abc"‿'d'
(⌽¨⌾(<2‿3⊸⊏) ≡ ⌽⌾(2‿3⊸⊏)) "abcdef"
"bdca" ≡ 1⊸⌽⌾(1‿3‿0˙⊏⊢)"abcd"
+# Multi-source
+⟨3‿'b','a'⟩ ≡ ⌽⌾(⊑∘⊑⋈1⊸⊑)"ab"‿3
+(4‿3⋈⊸∾"ba") ≡ ⌽⌾(⊑⋈·⌽1⊸↓)"ab"‿3‿4
+⟨"ba"⟩ ≡ 2⊸⌽⌾(⊑∾⌽∘⊑)⟨"ab"⟩
+"hg"‿"fed"‿""‿"cba" ≡ ⌽⌾∾"ab"‿"cde"‿""‿"fgh"
+"ab"‿"gde"‿""‿"fch" ≡ ⌽⌾(2‿4‿6⊏∾)"ab"‿"cde"‿""‿"fgh"
+"ac"‿"bd" ≡ ⍉⌾>"ab"‿"cd"
# Fills
! % ⌽⌾(1↓4↑⊢)"abc"