aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-14 16:41:49 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-14 16:49:30 -0500
commit9ebac7b4fc344e52a39db2082e2fa848691c9bdd (patch)
treeea8ae49742d1f69ddb7f99a5938002617492c308 /test
parentb1937178ffcb3c24eebe01f0c77bacd5547bbce1 (diff)
Do a full traversal on indices for structural Under
Diffstat (limited to 'test')
-rw-r--r--test/cases/under.bqn2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cases/under.bqn b/test/cases/under.bqn
index acef50b7..68455733 100644
--- a/test/cases/under.bqn
+++ b/test/cases/under.bqn
@@ -32,10 +32,12 @@
"bdca" ≡ 1⊸⌽⌾(1‿3‿0⊸⊏)"abcd"
#! % 1⊸⌽⌾(1‿3‿3‿0⊸⊏)"abcd"
((¯1⋆2∧⌜○(⌽0=↕)3)⊸× ≡ -⌾(1‿2⊑⊢))↕2‿3
+((0‿3≍1‿2)⊸+ ≡ ⟨1,2‿3⟩⊸+⌾(⟨1‿0,⟨1‿1,0‿1⟩⟩⊸⊑))↕2‿2
# Compound
(1+↕3) ≡ 1⊸↓⌾(@⊢·⊑<)↕4
"210abc" ≡ ⌽⌾((2÷˜≠)⊸↑)"012abc"
"bac"‿'d' ≡ ⌽⌾(2↑⊑)"abc"‿'d'
+(⌽¨⌾(<2‿3⊸⊏) ≡ ⌽⌾(2‿3⊸⊏)) "abcdef"
# Computational
3 % 1⊸+⌾-4