Skip to content

Commit

Permalink
Reword test names
Browse files Browse the repository at this point in the history
  • Loading branch information
P2-718na committed May 19, 2021
1 parent f45f599 commit 1b0a0cc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/sir.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}

Expand All @@ -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};
}

Expand Down

0 comments on commit 1b0a0cc

Please sign in to comment.