all repos — min @ fbe58dc73abc64be06332e9f7070a92a8eeb004a

A small but practical concatenative programming language.

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

fbe58dc73abc64be06332e9f7070a92a8eeb004a

parent

66f78d053cfd75087efb9867f3576cd0e32c5ccb

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

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

@@ -34,6 +34,9 @@ ((1 2 3 4 5) sum 15 ==) assert

((1 2 3 4 5) product 120 ==) assert + ((1 2 3 4 5) avg 3.0 ==) assert + ((1 2 3 4 5 6) avg 3.5 ==) assert + (0 :c (c 10 <) (c succ @c) while c 10 ==) assert