From 2aef63bbb79fc39031b23473f8949724b6af0f1e Mon Sep 17 00:00:00 2001 From: kaiwu Date: Thu, 8 Dec 2022 11:41:21 +0800 Subject: 2015 day22 part1 --- test/test_2015.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/test_2015.cpp') 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); } -- cgit v1.2.3