You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
385 B
12 lines
385 B
#include <Catch/catch.hpp> |
|
#include <config.hpp> |
|
|
|
SCENARIO("The configuration have default properties") { |
|
tr::config config; |
|
REQUIRE_FALSE(config.default_download_dir.empty()); |
|
REQUIRE_FALSE(config.root_dir.empty()); |
|
REQUIRE(config.default_download_dir == "toREST"); |
|
REQUIRE(config.http_port == 8080); |
|
REQUIRE(config.http_threads == 1); |
|
REQUIRE(config.ws_port == 3000); |
|
} |