mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 23:50:53 +02:00
modernize the cmake files a bit
try to use a namespace for cmake config package
This commit is contained in:
parent
ed4ff7833a
commit
bf9cb6c214
9 changed files with 83 additions and 38 deletions
|
@ -18,4 +18,9 @@ TEST_CASE("Greeter") {
|
|||
TEST_CASE("Greeter version") {
|
||||
static_assert(std::string_view(GREETER_VERSION) == std::string_view("1.0"));
|
||||
CHECK(std::string(GREETER_VERSION) == std::string("1.0"));
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("Greeter date") {
|
||||
const greeter::Greeter greeter("Tests");
|
||||
CHECK(greeter.getIsoDate() == std::string("03:15:30"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue