From 4f1ddec0027e024035ea039ec51ea888ddbba7e2 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sun, 15 Sep 2019 13:12:00 +0200 Subject: [PATCH] Ensure the test order is consistent. --- 2019/tests/test_solutions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/2019/tests/test_solutions.cpp b/2019/tests/test_solutions.cpp index 81e24fa..454043a 100644 --- a/2019/tests/test_solutions.cpp +++ b/2019/tests/test_solutions.cpp @@ -15,6 +15,9 @@ std::vector get_samples() { } } + // Ensure a consistent order. + std::sort(samples.begin(), samples.end()); + return samples; }