We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c53a1f1 commit 6a9a903Copy full SHA for 6a9a903
2 files changed
2021/zig/src/01/main.zig
@@ -44,7 +44,7 @@ fn part2(input: []const u8) !u32 {
44
}
45
46
test "day 1 prod" {
47
- const input = @embedFile("../../inputs/1/prod.txt");
+ const input = @embedFile("../../../inputs/1/prod.txt");
48
try std.testing.expectEqual(@as(u32, 1681), try part1(input));
49
try std.testing.expectEqual(@as(u32, 1704), try part2(input));
50
2021/zig/src/02/main.zig
@@ -53,7 +53,7 @@ fn part2(input: []const u8) !u32 {
53
54
55
test "day 2 prod" {
56
- const input = @embedFile("../../inputs/2/prod.txt");
+ const input = @embedFile("../../../inputs/2/prod.txt");
57
try std.testing.expectEqual(@as(u32, 150), try part1(input));
58
try std.testing.expectEqual(@as(u32, 900), try part2(input));
59
0 commit comments