template.

This commit is contained in:
Gabe Venberg 2024-12-02 17:59:08 +01:00
parent 579c643f3f
commit 0a9f08cbf0
5 changed files with 51 additions and 0 deletions

13
days/template/part2.zig Normal file
View file

@ -0,0 +1,13 @@
const lib = @import("lib.zig");
const std = @import("std");
pub fn part2(comptime input: []const u8) i32 {
return input.len;
}
test "part2 sample" {
const input =
\\0
;
try std.testing.expectEqual(part2(input), 1);
}