diff --git a/bin/Debug/unittest.exe b/bin/Debug/unittest.exe new file mode 100644 index 0000000..651191c Binary files /dev/null and b/bin/Debug/unittest.exe differ diff --git a/obj/Debug/Histogram/histogram.o b/obj/Debug/Histogram/histogram.o new file mode 100644 index 0000000..6f2eb56 Binary files /dev/null and b/obj/Debug/Histogram/histogram.o differ diff --git a/obj/Debug/unittest.o b/obj/Debug/unittest.o new file mode 100644 index 0000000..cff8d6f Binary files /dev/null and b/obj/Debug/unittest.o differ diff --git a/unittest.cpp b/unittest.cpp index 1cffc13..cec99da 100644 --- a/unittest.cpp +++ b/unittest.cpp @@ -7,7 +7,7 @@ TEST_CASE("distinct positive numbers") { double min = 0; double max = 0; find_minmax({1, 2}, min, max); - CHECK(min == 3); + CHECK(min == 1); CHECK(max == 2); } diff --git a/unittest.depend b/unittest.depend new file mode 100644 index 0000000..9910fae --- /dev/null +++ b/unittest.depend @@ -0,0 +1,61 @@ +# depslib dependency file v1.0 +1745791868 source:c:\users\yaros_tm2sc6p\Рабочий стол\cs-lab34\histogram\histogram.cpp + "histogram.h" + + + +1745791871 c:\users\yaros_tm2sc6p\Рабочий стол\cs-lab34\histogram\histogram.h + + +1745793818 source:c:\users\yaros_tm2sc6p\Рабочий стол\cs-lab34\unittest.cpp + "doctest.h" + "Histogram/histogram_internal.h" + +1745792535 c:\users\yaros_tm2sc6p\Рабочий стол\cs-lab34\doctest.h + + + + + + + "doctest_fwd.h" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1745792105 c:\users\yaros_tm2sc6p\Рабочий стол\cs-lab34\histogram\histogram_internal.h + +