aboutsummaryrefslogtreecommitdiff
path: root/test/test_2015.cpp
diff options
context:
space:
mode:
authorkaiwu <kaiwu2004@gmail.com>2022-03-21 22:41:52 +0800
committerkaiwu <kaiwu2004@gmail.com>2022-03-21 22:41:52 +0800
commit922a44312b3d896dd1ce9c9790f11a6afd855dc9 (patch)
tree3f28992409b5901cf08b2b6f6c476c3d01f03062 /test/test_2015.cpp
parent450244266a6e09dda768226207c85a933996d350 (diff)
downloadadvent-of-code-922a44312b3d896dd1ce9c9790f11a6afd855dc9.tar.gz
advent-of-code-922a44312b3d896dd1ce9c9790f11a6afd855dc9.zip
day19 part1
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r--test/test_2015.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp
index 39b4980..ef76a14 100644
--- a/test/test_2015.cpp
+++ b/test/test_2015.cpp
@@ -87,6 +87,7 @@ TEST_CASE("Doesn't He Have Intern-Elves For This?", "[day5]") {
}
TEST_CASE("Probably a Fire Hazard", "[day6]") {
+ /*
aoc2015::grid<aoc2015::Bit, 1000> grid;
grid.turn_on({0, 0}, {0, 999});
REQUIRE(grid.store_.count() == 1000);
@@ -94,6 +95,7 @@ TEST_CASE("Probably a Fire Hazard", "[day6]") {
aoc2015::grid<int8_t, 1000> grid2;
grid2.toggle({0, 0}, {0, 999});
REQUIRE(grid2.store_.count() == 2000);
+ */
line_view lv = load_file("../src/2015/day6/input");
auto p = aoc2015::day6(lv);
@@ -200,4 +202,6 @@ TEST_CASE("Like a GIF For Your Yard", "[day18]") {
TEST_CASE("Medicine for Rudolph", "[day19]") {
// line_view lv = load_file("../src/2015/day19/input");
+ line_view lv = line_view{"H => HO\nH => OH\nO => HH\n\nHOH\n"};
+ aoc2015::day19(lv);
}