Browse Source

add config test

master
Jørgen Lien Sellæg 9 years ago
parent
commit
2915a308fc
  1. 9
      toREST/tests/config_test.cpp

9
toREST/tests/config_test.cpp

@ -0,0 +1,9 @@
#include <Catch/catch.hpp>
#include <config.hpp>
SCENARIO("The configuration have default properties") {
Config config;
REQUIRE_FALSE(config.default_download_dir.empty());
REQUIRE_FALSE(config.root_dir.empty());
REQUIRE(config.default_download_dir == "toREST");
}
Loading…
Cancel
Save