From 5974775783aaa2129106f475aed1e150eec07803 Mon Sep 17 00:00:00 2001 From: Alexander Hans Date: Fri, 15 Mar 2024 13:21:27 +0100 Subject: [PATCH] fix(parallel-letter-frequency): add another missing assertion --- .../parallel-letter-frequency/parallel_letter_frequency_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/practice/parallel-letter-frequency/parallel_letter_frequency_test.cpp b/exercises/practice/parallel-letter-frequency/parallel_letter_frequency_test.cpp index b5a0bb68..54b4c35d 100644 --- a/exercises/practice/parallel-letter-frequency/parallel_letter_frequency_test.cpp +++ b/exercises/practice/parallel-letter-frequency/parallel_letter_frequency_test.cpp @@ -16,6 +16,7 @@ TEST_CASE("no texts", "[calculateFrequencies][c054d642-c1fa-4234-8007-9339f2337886]") { std::vector const texts = {}; auto freqs = parallel_letter_frequency::frequency(texts); + CHECK(freqs.empty()); } #if defined(EXERCISM_RUN_ALL_TESTS)