Commit graph

4 commits

Author SHA1 Message Date
4a9d49fbd8 fix(runtime tests): treat write's better
- unwrap on writeln!()
- make sure "all" [0] is written in capture

Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-05 16:21:34 +00:00
87b911183c style(tests): fix indentation in expect blocks
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-05 13:32:38 +00:00
5e18e89af4 feat(builtins): add basic math builtins
This adds basic addition, substraction, multiplication, and division
commands as builtins.

All of those operate solely on f64's.

Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-05 13:22:33 +00:00
ac8a22ad99 refactor(runtime tests): split off builtin tests
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-02 15:41:01 +00:00