Skip to content

Commit cc0f393

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] re-tag all tests
1 parent 2fca282 commit cc0f393

8 files changed

+17
-10
lines changed

src/tests/unit/lib/hackerrank/warmup/a_very_big_sum.test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#include <nlohmann/json.hpp>
1010
using json = nlohmann::json;
1111

12-
TEST_CASE("aVeryBigSum JSON Test Cases", "[warmup]") {
12+
TEST_CASE("aVeryBigSum JSON Test Cases",
13+
"[hackerrank] [jsontestcase] [warmup]") {
1314
std::filesystem::path cwd = std::filesystem::current_path();
1415
std::string path =
1516
cwd.string() +

src/tests/unit/lib/hackerrank/warmup/birthday_cake_candles.test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#include <nlohmann/json.hpp>
1010
using json = nlohmann::json;
1111

12-
TEST_CASE("birthdayCakeCandles JSON Test Cases", "[warmup]") {
12+
TEST_CASE("birthdayCakeCandles JSON Test Cases",
13+
"[hackerrank] [jsontestcase] [warmup]") {
1314
std::filesystem::path cwd = std::filesystem::current_path();
1415
std::string path =
1516
cwd.string() +

src/tests/unit/lib/hackerrank/warmup/compare_triplets.test.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#include <nlohmann/json.hpp>
1010
using json = nlohmann::json;
1111

12-
TEST_CASE("compareTriplets JSON Test Cases", "[warmup]") {
12+
TEST_CASE("compareTriplets JSON Test Cases",
13+
"[hackerrank] [jsontestcase] [warmup]") {
1314
std::filesystem::path cwd = std::filesystem::current_path();
1415
std::string path =
1516
cwd.string() +
@@ -27,7 +28,7 @@ TEST_CASE("compareTriplets JSON Test Cases", "[warmup]") {
2728
}
2829
}
2930

30-
TEST_CASE("compareTriplets EDGE CASE empty input", "[warmup]") {
31+
TEST_CASE("compareTriplets EDGE CASE empty input", "[hackerrank] [warmup]") {
3132
std::vector<int> a;
3233
std::vector<int> b;
3334

src/tests/unit/lib/hackerrank/warmup/diagonal_difference.test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#include <nlohmann/json.hpp>
1010
using json = nlohmann::json;
1111

12-
TEST_CASE("diagonalDifference JSON Test Cases", "[warmup]") {
12+
TEST_CASE("diagonalDifference JSON Test Cases",
13+
"[hackerrank] [jsontestcase] [warmup]") {
1314
std::filesystem::path cwd = std::filesystem::current_path();
1415
std::string path =
1516
cwd.string() +

src/tests/unit/lib/hackerrank/warmup/mini_max_sum.test.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#include <nlohmann/json.hpp>
1212
using json = nlohmann::json;
1313

14-
TEST_CASE("miniMaxSum JSON Test Cases", "[warmup]") {
14+
TEST_CASE("miniMaxSum JSON Test Cases",
15+
"[hackerrank] [jsontestcase] [warmup]") {
1516
std::filesystem::path cwd = std::filesystem::current_path();
1617
std::string path =
1718
cwd.string() + "/unit/lib/hackerrank/warmup/mini_max_sum.testcases.json";
@@ -30,7 +31,7 @@ TEST_CASE("miniMaxSum JSON Test Cases", "[warmup]") {
3031
}
3132
}
3233

33-
TEST_CASE("miniMaxSum Edge Cases", "[warmup]") {
34+
TEST_CASE("miniMaxSum Edge Cases", "[hackerrank] [warmup]") {
3435
std::vector<int> empty;
3536
CHECK_THROWS_AS(hackerrank::warmup::miniMaxSumCalculate(empty),
3637
std::invalid_argument);

src/tests/unit/lib/hackerrank/warmup/plus_minus.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <nlohmann/json.hpp>
1111
using json = nlohmann::json;
1212

13-
TEST_CASE("plusMinus JSON Test Cases", "[warmup]") {
13+
TEST_CASE("plusMinus JSON Test Cases", "[hackerrank] [jsontestcase] [warmup]") {
1414
std::filesystem::path cwd = std::filesystem::current_path();
1515
std::string path =
1616
cwd.string() + "/unit/lib/hackerrank/warmup/plus_minus.testcases.json";

src/tests/unit/lib/hackerrank/warmup/simple_array_sum.test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
using json = nlohmann::json;
1010

11-
TEST_CASE("simpleArraySum", "[warmup]") {
11+
TEST_CASE("simpleArraySum JSON Test Cases",
12+
"[hackerrank] [jsontestcase] [warmup]") {
1213
std::filesystem::path cwd = std::filesystem::current_path();
1314
std::string path =
1415
cwd.string() +

src/tests/unit/lib/hackerrank/warmup/solve_me_first.test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
using json = nlohmann::json;
1010

11-
TEST_CASE("solveMeFirst", "[warmup]") {
11+
TEST_CASE("solveMeFirst JSON Test Cases",
12+
"[hackerrank] [jsontestcase] [warmup]") {
1213
std::filesystem::path cwd = std::filesystem::current_path();
1314
std::string path =
1415
cwd.string() +

0 commit comments

Comments
 (0)