zig/test/standalone/pkg_import/test.zig

7 lines
140 B
Zig
Raw Normal View History

const my_pkg = @import("my_pkg");
const assert = @import("std").debug.assert;
2018-02-08 15:08:45 +08:00
pub fn main() void {
assert(my_pkg.add(10, 20) == 30);
}