Updated unit tests

-Added tests for functions
-Added error class and return from package manager functions
-Updated `compile.sh` script
This commit is contained in:
David Allen 2023-01-07 14:50:09 -06:00
parent d4b1ea90c6
commit 5ffce72fa5
7 changed files with 109 additions and 42 deletions

View file

@ -75,7 +75,7 @@ namespace gdpm::log
);
}
template <typename S, typename...Args>
template <typename S = std::string, typename...Args>
static constexpr void println(const S& format, Args&&...args){
vlog(
fmt::format("{}\n", format),
@ -84,4 +84,9 @@ namespace gdpm::log
);
}
template <typename>
static constexpr void println(const std::string& format = ""){
println(format);
}
}