Skip to content

Commit e644c44

Browse files
committed
add tests for repeat and do signatures
1 parent b8f269c commit e644c44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/signature.ua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ F ← ⍣(°$"_-_"⊙◌|⍤.$"Invalid string on line _: \"_\"":)
3636
# Repeat
3737
F ← |1 {⍥(⊜⧻..)∞}
3838
F ← |3 ⍥+
39+
F ← |2 ⍥◡+10
40+
F ← |2.2 ⍥⊸◡+10
3941
# Do
4042
C ← ⨬(+1×3|÷2)=0◿2.
4143
F ← |1 ◌⍢(|2 ⊂||1.3 ¬∊◡:C⊢.)
@@ -47,6 +49,8 @@ F ← |1 ⍢(|1 ×2||1.2 <1000.)
4749
F ← |2 ⍢(+|?)
4850
G ← |2 ⍢(?+|>2)
4951
F ← |2 ⍢(×|<100)
52+
F ← |1 ⍢(⊸×2|<100)
53+
F ← |1 ⍢(.×2|<100)
5054
# On
5155
F ← |1 ⟜()
5256
# By

0 commit comments

Comments
 (0)