From 67e891f8cde8ff7f957c0daf47236d6f3b9668a6 Mon Sep 17 00:00:00 2001
From: Dan Carroll <dancarroll@gmail.com>
Date: Sat, 14 Dec 2024 17:03:10 -0500
Subject: [PATCH] Add missing test case

---
 bin/day14.dart       | 1 -
 test/day14_test.dart | 7 +++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/bin/day14.dart b/bin/day14.dart
index 44bd88b..bfaa079 100644
--- a/bin/day14.dart
+++ b/bin/day14.dart
@@ -7,6 +7,5 @@ Future<void> main(List<String> arguments) async {
     day: Day.day14,
     part1: part1.calculate,
     part2: part2.calculate,
-    runSample: false,
   );
 }
diff --git a/test/day14_test.dart b/test/day14_test.dart
index 5267d16..0077725 100644
--- a/test/day14_test.dart
+++ b/test/day14_test.dart
@@ -1,5 +1,6 @@
 import 'package:aoc_2024/lib.dart';
 import 'package:aoc_2024/day14/part_1.dart' as part1;
+import 'package:aoc_2024/day14/part_2.dart' as part2;
 import 'package:test/test.dart';
 
 void main() {
@@ -12,6 +13,8 @@ void main() {
     test('part1', () async {
       expect(await part1.calculate(file), 12);
     });
+
+    // The sample data doesn't work for part 2.
   });
 
   group('real data', tags: 'real-data', () {
@@ -21,5 +24,9 @@ void main() {
     test('part1', () async {
       expect(await part1.calculate(file), 228410028);
     });
+
+    test('part2', () async {
+      expect(await part2.calculate(file), 8258);
+    });
   });
 }