this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 02d3631e56de6da21df4ba5d06d6aafbc2bc5c5e 19 lines 450 B view raw
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}