main
1const std = @import("std");
2const testing = std.testing;
3
4export fn add(a: i32, b: i32) i32 {
5 return a + b;
6}
7
8test "basic add functionality" {
9 try testing.expect(add(3, 7) == 10);
10}