From 71d5250352a37d3c674a0a447cbda53d120ac1b7 Mon Sep 17 00:00:00 2001 From: TarasovEE Date: Thu, 25 Sep 2025 22:09:25 +0300 Subject: [PATCH] =?UTF-8?q?unittest:=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B5=D1=81=D1=82=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D1=83=D1=81=D1=82=D0=BE=D0=B9=20=D0=B2?= =?UTF-8?q?=D0=B5=D0=BA=D1=82=D0=BE=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unittest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittest.cpp b/unittest.cpp index 5c2582c..0caf72f 100644 --- a/unittest.cpp +++ b/unittest.cpp @@ -20,9 +20,9 @@ TEST_CASE("null vector") { double min = 0; double max = 0; - find_minmax({1, 2}, min, max); - CHECK(min == 1); - CHECK(max == 2); + find_minmax({}, min, max); + CHECK(min == 0); + CHECK(max == 0); } // одинаковые положительные элементы