diff options
Diffstat (limited to 'test/test_2019.cpp')
-rw-r--r-- | test/test_2019.cpp | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/test/test_2019.cpp b/test/test_2019.cpp index 2876ec9..948ffa2 100644 --- a/test/test_2019.cpp +++ b/test/test_2019.cpp @@ -8,6 +8,21 @@ #include "2019/day8/aoc.h" #include "2019/day9/aoc.h" #include "2019/day10/aoc.h" +#include "2019/day11/aoc.h" +#include "2019/day12/aoc.h" +#include "2019/day13/aoc.h" +#include "2019/day14/aoc.h" +#include "2019/day15/aoc.h" +#include "2019/day16/aoc.h" +#include "2019/day17/aoc.h" +#include "2019/day18/aoc.h" +#include "2019/day19/aoc.h" +#include "2019/day20/aoc.h" +#include "2019/day21/aoc.h" +#include "2019/day22/aoc.h" +#include "2019/day23/aoc.h" +#include "2019/day24/aoc.h" +#include "2019/day25/aoc.h" #include "catch.hpp" #include <stdio.h> @@ -74,3 +89,121 @@ TEST_CASE("Monitoring Station", "[2019]") { REQUIRE(334 == p.first); REQUIRE(1119 == p.second); } + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day11/input"); + auto p = aoc2019::day11(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day12/input"); + auto p = aoc2019::day12(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day13/input"); + auto p = aoc2019::day13(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day14/input"); + auto p = aoc2019::day14(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day15/input"); + auto p = aoc2019::day15(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day16/input"); + auto p = aoc2019::day16(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day17/input"); + auto p = aoc2019::day17(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day18/input"); + auto p = aoc2019::day18(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day19/input"); + auto p = aoc2019::day19(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day20/input"); + auto p = aoc2019::day20(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day21/input"); + auto p = aoc2019::day21(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day22/input"); + auto p = aoc2019::day22(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day23/input"); + auto p = aoc2019::day23(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day24/input"); + auto p = aoc2019::day24(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} + + +TEST_CASE("", "[2019]") { + line_view lv = load_file("../src/2019/day25/input"); + auto p = aoc2019::day25(lv); + REQUIRE(0 == p.first); + REQUIRE(0 == p.second); +} |