Skip to content

Commit

Permalink
add a proxy value unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Jun 19, 2024
1 parent a447c50 commit d88eaa5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/units.ua
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ F ← +@A ⊟.
⍤⟜≍: ⊂:2_2 ⟜(⊂⊃△type≡F⇡)2
⍤⟜≍: ⊂:2_2 ⟜(⊂⊃△type≡F⇡)1
⍤⟜≍: ⊂:2_2 ⟜(⊂⊃△type≡F⇡)0
assonmat: [0 3] shape ≡⍜▽∘ ↯0_3 1 ¤"abc"
⍤⟜≍: [0 3] △ ≡⍜▽∘ ↯0_3 1 ¤"abc"
⍤⟜≍: [0 3] △≡⍜(°⊟▽): ↯0_3[1_1_0] ¤"abc"

# Filled inverses
⍤⟜≍: 0 ⬚0°◌
Expand Down Expand Up @@ -625,7 +626,7 @@ repr[{[[1 2][2 3]][3 4]}{[[1 2][2 3]]□{[[1 2][2 3]]□□[3 4]}}]
⍤⟜≍: [4 1 2 3] [⫯⊙⊙⊙◌ 1 2 3 4]

# Orient
⍤⟜≍: °⍉⟜(orient¯1) °△ 2_3_4
⍤⟜≍: °⍉⟜(orient2) °△ 2_3_4
⍤⟜≍: ≡⍉⟜(orient0_2) °△ 2_3_4
⍤⟜≍: ≡°⍉≡≡⍉°⍉≡≡⍉⟜(orient2_1) °△ 2_3_4_5
⍤⟜≍: °⍉⟜(¯1) °△ 2_3_4
⍤⟜≍: °⍉⟜(⮌2) °△ 2_3_4
⍤⟜≍: ≡⍉⟜(⮌0_2) °△ 2_3_4
⍤⟜≍: ≡°⍉≡≡⍉°⍉≡≡⍉⟜(⮌2_1) °△ 2_3_4_5

0 comments on commit d88eaa5

Please sign in to comment.