From 1b0a0cc709a589deff7c749bd3d8b108a4154bfe Mon Sep 17 00:00:00 2001 From: Matteo Bonacini Date: Wed, 19 May 2021 17:43:46 +0200 Subject: [PATCH] Reword test names --- tests/sir.test.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/sir.test.cpp b/tests/sir.test.cpp index f8d94be..f1783c6 100644 --- a/tests/sir.test.cpp +++ b/tests/sir.test.cpp @@ -38,10 +38,10 @@ TEST_CASE("Model class constructor works correctly.") { sir::Model* model; TestData td; - SUBCASE("Valori corretti 1") { + SUBCASE("Correct values 1") { td = TestData{0, 1, 1, 2, 3}; } - SUBCASE("Valori corretti 2") { + SUBCASE("Correct values 2") { td = TestData{0.2, 0.8, 5, 9, 14}; } @@ -63,19 +63,19 @@ TEST_CASE("Model class constructor works correctly.") { TEST_CASE("Model class constructor throws for incorrect values.") { TestData td; - SUBCASE("Valori incorretti 1") { + SUBCASE("Incorrect values 1") { td = TestData{-1, 1, 1, 2, 3}; } - SUBCASE("Valori incorretti 1") { + SUBCASE("Incorrect values 2") { td = TestData{1, 2, 1, 2, 3}; } - SUBCASE("Valori incorretti 1") { + SUBCASE("Incorrect values 3") { td = TestData{0.5, 1, -1, -2, 3}; } - SUBCASE("Valori incorretti 1") { + SUBCASE("Incorrect values 4") { td = TestData{0.5, 1, 0, 0, 0}; } - SUBCASE("Valori incorretti 1") { + SUBCASE("Incorrect values 5") { td = TestData{0.5, 1, 0, 0, 5000000}; }