From ee3bd74f741c7aac32c7cf7e197f8144bcbb6023 Mon Sep 17 00:00:00 2001 From: StepanovAV Date: Sat, 18 May 2024 11:50:29 +0000 Subject: [PATCH] revert 6662073facd8f64a85bd64084a310b2953c2c48b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert code: добавлены исправленные модульные тесты для персонального варианта --- lab3_personal/personal_unittest.cbp | 40 ----------------------- lab3_personal/personal_unittest.cpp | 18 ---------- lab3_personal/styled_text_func_internal.h | 5 --- 3 files changed, 63 deletions(-) delete mode 100644 lab3_personal/personal_unittest.cbp delete mode 100644 lab3_personal/personal_unittest.cpp delete mode 100644 lab3_personal/styled_text_func_internal.h diff --git a/lab3_personal/personal_unittest.cbp b/lab3_personal/personal_unittest.cbp deleted file mode 100644 index ed270fe..0000000 --- a/lab3_personal/personal_unittest.cbp +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - diff --git a/lab3_personal/personal_unittest.cpp b/lab3_personal/personal_unittest.cpp deleted file mode 100644 index 4a8c982..0000000 --- a/lab3_personal/personal_unittest.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#define DOCTEST_CONFIG_NO_MULTITHREADING -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN -#include "doctest.h" -#include "styled_text_func_internal.h" -#include - -TEST_CASE("Some mistakes in words") { - std::string text_style = styled_text_func (); - CHECK(text_style == "underline"); -} -TEST_CASE("Not using any style") { - std::string text_style = styled_text_func (); - CHECK(text_style == "none"); -} -TEST_CASE("Using 'none' as style after answering 'Yes'") { - std::string text_style = styled_text_func (); - CHECK(text_style == "none"); -} diff --git a/lab3_personal/styled_text_func_internal.h b/lab3_personal/styled_text_func_internal.h deleted file mode 100644 index 1919042..0000000 --- a/lab3_personal/styled_text_func_internal.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once -#include - -std::string -styled_text_func ();