mul/example.mul

10 lines
158 B
Plaintext
Raw Normal View History

2023-05-06 05:14:15 +00:00
let main = || {
2023-05-02 03:56:01 +00:00
let result = sum_equals(1, 2, 3);
2023-05-01 03:05:39 +00:00
print(result)
2023-05-06 05:14:15 +00:00
};
2023-04-28 07:11:34 +00:00
2023-05-06 05:14:15 +00:00
let sum_equals = |x, y, expected| {
2023-05-02 03:56:01 +00:00
let sum = add(x, y);
2023-05-01 03:05:39 +00:00
equals(sum, expected)
2023-05-06 05:14:15 +00:00
};