mysimulation/backup-src/root.zig
Tony Bark e9d7d736eb
Some checks failed
Build / build (macos-latest) (push) Has been cancelled
Build / build (windows-latest) (push) Has been cancelled
Build / ubuntu-build (push) Has been cancelled
Build / lint (push) Has been cancelled
Restarted Zig project with the new build architecture
- Renamed old src directory as backup-src
2025-02-18 08:02:51 -05:00

10 lines
191 B
Zig

const std = @import("std");
const testing = std.testing;
export fn add(a: i32, b: i32) i32 {
return a + b;
}
test "basic add functionality" {
try testing.expect(add(3, 7) == 10);
}