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 +