From cdcef0e4b65abfffdcebc5d77d76913f53be0695 Mon Sep 17 00:00:00 2001 From: TarasovEE Date: Tue, 5 Aug 2025 21:33:21 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- histogram_internal.h | 2 ++ text.cpp | 2 ++ text.h | 2 ++ unittest.cpp | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) 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") {