mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-15 02:25:40 +00:00
new cpp version with just catch2 and approvals. Builds faster than the version in the cpp folder
This commit is contained in:
1 parent
59fa896633
commit
3ee479a731
8 files changed
+195
No files matched your search
@@ -0,0 +1 @@
|
||||
#include "ApprovalTests.v.10.0.0.hpp"
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#define APPROVALS_CATCH
|
||||
|
||||
#include "catch2/catch.hpp"
|
||||
#include "ApprovalTests.hpp"
|
||||
Reference in new issue
Block a user