Skip to content

Commit

Permalink
fix test and remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
milanaleksic committed Dec 6, 2023
1 parent 4179170 commit 400f2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/day6.zig
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub fn part1(list: std.ArrayList([]const u8)) !i64 {
numberOfBetterTimes += 1;
}
}
print("number of better times: {d}\n", .{numberOfBetterTimes});
// print("number of better times: {d}\n", .{numberOfBetterTimes});
product *= numberOfBetterTimes;
}

Expand Down Expand Up @@ -136,5 +136,5 @@ test "part 2 full" {
defer data.deinit();

const testValue: i64 = try part2(data.lines);
try std.testing.expectEqual(testValue, 0);
try std.testing.expectEqual(testValue, 37286485);
}

0 comments on commit 400f2b8

Please sign in to comment.