all repos — min @ 503678409f4b41744e61d1fe116de005c62bf7bc

A small but practical concatenative programming language.

added unit tests for `med`
drkameleon yaniszaf@gmail.com
Fri, 22 Jan 2021 07:08:24 +0100
commit

503678409f4b41744e61d1fe116de005c62bf7bc

parent

fbe58dc73abc64be06332e9f7070a92a8eeb004a

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M tests/num.mintests/num.min

@@ -37,6 +37,9 @@

((1 2 3 4 5) avg 3.0 ==) assert ((1 2 3 4 5 6) avg 3.5 ==) assert + ((1 3 5 7) med 4.0 ==) assert + ((1 3 5 7 9) med 5 ==) assert + (0 :c (c 10 <) (c succ @c) while c 10 ==) assert