new cpp version with just catch2 and approvals. Builds faster than the version in the cpp folder

This commit is contained in:
emily committed 2020-06-05 15:24:28 +02:00
1 parent 59fa896633
commit 3ee479a731
8 files changed
+195

No files matched your search

+1
View File
@@ -0,0 +1 @@
#include "ApprovalTests.v.10.0.0.hpp"
+14
View File
@@ -0,0 +1,14 @@
#include "catch2/catch.hpp"
#include "ApprovalTests.hpp"
#include "GildedRose.h"
TEST_CASE("Foo") {
vector<Item> items;
items.push_back(Item("foo", 0, 0));
GildedRose app(items);
app.updateQuality();
REQUIRE("fixme" == app.items[0].name);
}
+5
View File
@@ -0,0 +1,5 @@
#define CATCH_CONFIG_MAIN
#define APPROVALS_CATCH
#include "catch2/catch.hpp"
#include "ApprovalTests.hpp"