Add solution for "Day 22: Monkey Market", part 1
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include <aoc/LinenLayout.hpp>
|
||||
#include <aoc/RaceCondition.hpp>
|
||||
#include <aoc/KeypadConundrum.hpp>
|
||||
#include <aoc/MonkeyMarket.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
@@ -383,6 +384,19 @@ TEST_CASE("[KeypadConundrumTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[MonkeyMarketTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.runFull(std::make_unique<MonkeyMarket>(), 19854248602, 0);
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.runExample(std::make_unique<MonkeyMarket>(), 37327623, 0);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[LanPartyTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user