Very simple items system to get into the inventory work.
This commit is contained in:
parent
1962b0c24e
commit
3d461bce6d
15 changed files with 94 additions and 32 deletions
|
@ -13,6 +13,8 @@ using std::string;
|
|||
TEST_CASE("basic configuration system", "[config]") {
|
||||
Config config("./tests/config.json");
|
||||
|
||||
REQUIRE_THROWS([&]{ config["blahblah"]; }());
|
||||
|
||||
auto not_found = config["types"]["NOTFOUND"];
|
||||
REQUIRE(not_found == nullptr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue