capitalization mistake
This commit is contained in:
parent
62944c8f1c
commit
ffbb5c9fb2
12
2022/13.cpp
12
2022/13.cpp
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user