Tyro/tests/ConfigTest.cpp
2015-07-02 15:05:05 -04:00

14 lines
271 B
C++

#include "catch.hpp"
#include "../src/settings/Config.h"
TEST_CASE ("Base config class load json")
{
TyroConfig *config = new TyroConfig();
SECTION("Create Base Config Class")
{
config->LoadJson("{\"foo\":\"bar\"}");
REQUIRE(config->GetRoot().isObject());
}
}