diff options
Diffstat (limited to 'test/test_2015.cpp')
-rw-r--r-- | test/test_2015.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_2015.cpp b/test/test_2015.cpp index 74d6c25..eceef29 100644 --- a/test/test_2015.cpp +++ b/test/test_2015.cpp @@ -224,4 +224,12 @@ TEST_CASE("RPG Simulator 20XX", "[2015]") { } TEST_CASE("Wizard Simulator 20XX", "[2015]") { + aoc2015::wizard me; + me.points = 50; + me.mana = 500; + + aoc2015::wizard boss; + boss.points = 55; + auto p = aoc2015::day22(me, boss); + REQUIRE(0 == p.first); } |