this repo has no description
1const std = @import("std");
2
3pub fn advancedPrint() !void {
4 const stdout_file = std.io.getStdOut().writer();
5 var bw = std.io.bufferedWriter(stdout_file);
6 const stdout = bw.writer();
7
8 try stdout.print("Run `zig build test` to run the tests.\n", .{});
9
10 try bw.flush(); // Don't forget to flush!
11}
12
13pub fn add(a: i32, b: i32) i32 {
14 return a + b;
15}
16
17test "basic add functionality" {
18 try std.testing.expect(add(3, 7) == 10);
19}