Very simple items system to get into the inventory work.

This commit is contained in:
Zed A. Shaw 2025-01-01 13:21:01 -05:00
parent 1962b0c24e
commit 3d461bce6d
15 changed files with 94 additions and 32 deletions

View file

@ -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);