11 lines
123 B
Plaintext
11 lines
123 B
Plaintext
(module tests)
|
|
|
|
(fn add ((a i32) (b i32)) -> i32
|
|
(+ a b))
|
|
|
|
(test "add works"
|
|
(= (add 2 3) 5))
|
|
|
|
(fn main () -> i32
|
|
0)
|