capitalization mistake

This commit is contained in:
Eric Mertens 2023-03-29 12:02:27 -07:00
parent 62944c8f1c
commit ffbb5c9fb2

View File

@ -182,15 +182,15 @@ TEST_SUITE("2022-13 examples") {
"[1,[2,[3,[4,[5,6,7]]]],8,9]\n"
"[1,[2,[3,[4,[5,6,0]]]],8,9]\n"
};
auto const PacketPairs = Parse(in);
CHECK(13 == Part1(PacketPairs));
CHECK(140 == Part2(PacketPairs));
auto const packetPairs = Parse(in);
CHECK(13 == Part1(packetPairs));
CHECK(140 == Part2(packetPairs));
}
}
auto Main(std::istream & in, std::ostream & out) -> void
{
auto const PacketPairs = Parse(in);
out << "Part 1: " << Part1(PacketPairs) << std::endl;
out << "Part 2: " << Part2(PacketPairs) << std::endl;
auto const packetPairs = Parse(in);
out << "Part 1: " << Part1(packetPairs) << std::endl;
out << "Part 2: " << Part2(packetPairs) << std::endl;
}