From 3b5d9d2e352f17bea4811eee581d42783878585f Mon Sep 17 00:00:00 2001 From: YusufovYB Date: Mon, 22 May 2023 10:04:18 +0300 Subject: [PATCH] =?UTF-8?q?build:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unittest.cbp | 2 ++ unittest.cpp | 9 ++++++++- unittest.depend | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) diff --git a/unittest.cbp b/unittest.cbp index 5a9c8c0..afae2fe 100644 --- a/unittest.cbp +++ b/unittest.cbp @@ -31,6 +31,8 @@ + + diff --git a/unittest.cpp b/unittest.cpp index dff5f08..01ce2a1 100644 --- a/unittest.cpp +++ b/unittest.cpp @@ -2,8 +2,10 @@ #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" #include "histogram_internal.h" +#include "block_with.h" +#include -TEST_CASE("distinct positive numbers") { +TEST_CASE("only one vector in numbers") { double min = 0; double max = 0; find_minmax({1}, min, max); @@ -26,3 +28,8 @@ TEST_CASE("vector of indentical elements") { CHECK(min == 5); CHECK(max == 5); } + +TEST_CASE("BLOCK_WIDTH CHECK") { + double BLOCK_WIDTH = 20; + CHECK(input_block_with(BLOCK_WIDTH)); +} diff --git a/unittest.depend b/unittest.depend index 649b6e9..37f7c66 100644 --- a/unittest.depend +++ b/unittest.depend @@ -9,3 +9,57 @@ 1682266667 c:\users\yusuf\onedrive\Документы\my games\chtoto\histogram_internal.h +1682319140 source:c:\users\yusuf\onedrive\Документы\my games\chtoto\unittest.cpp + "doctest.h" + "histogram_internal.h" + +1682267729 c:\users\yusuf\onedrive\Документы\my games\chtoto\doctest.h + + + + + + + "doctest_fwd.h" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1682328077 source:c:\users\yusuf\onedrive\Документы\my games\chtoto\block_with.cpp + "block_with.h" + +1682328180 c:\users\yusuf\onedrive\Документы\my games\chtoto\block_with.h +