diff --git a/histogram_internal.h b/histogram_internal.h index 430454e..7ebce78 100644 --- a/histogram_internal.h +++ b/histogram_internal.h @@ -3,6 +3,8 @@ #include +// Поиск максимального и минимального среди оценок. + void find_minmax(const std::vector& numbers, double& min, double& max); #endif // HISTOGRAM_INTERNAL_H_INCLUDED diff --git a/text.cpp b/text.cpp index be24107..f9c6d76 100644 --- a/text.cpp +++ b/text.cpp @@ -1,6 +1,8 @@ #include "text.h" using namespace std; +// Создание гистограммы в текстовом формате. + void show_histogram_text(vector& bins, size_t bin_count) { const size_t SCREEN_WIDTH = 80; diff --git a/text.h b/text.h index 4aff8a5..e6af431 100644 --- a/text.h +++ b/text.h @@ -3,6 +3,8 @@ #include #include +// Создание гистограммы в текстовом формате. + void show_histogram_text(std::vector& bins, size_t bin_count); #endif // TEXT_H_INCLUDED diff --git a/unittest.cpp b/unittest.cpp index 6870059..5c2582c 100644 --- a/unittest.cpp +++ b/unittest.cpp @@ -14,7 +14,7 @@ TEST_CASE("distinct positive numbers") CHECK(max == 2); } -// Пустой вектор +// пустой вектор TEST_CASE("null vector") {