Removed dbc and replaced with plain asserts everywhere.
This commit is contained in:
parent
767147c301
commit
adc192c6dc
17 changed files with 69 additions and 185 deletions
|
@ -1,18 +0,0 @@
|
|||
#include <catch2/catch_test_macros.hpp>
|
||||
#include "guecs/dbc.hpp"
|
||||
|
||||
using namespace dbc;
|
||||
|
||||
TEST_CASE("basic feature tests", "[dbc]") {
|
||||
log("Logging a message.");
|
||||
|
||||
pre("confirm positive cases work", 1 == 1);
|
||||
|
||||
pre("confirm positive lambda", [&]{ return 1 == 1;});
|
||||
|
||||
post("confirm positive post", 1 == 1);
|
||||
|
||||
post("confirm postitive post with lamdba", [&]{ return 1 == 1;});
|
||||
|
||||
check(1 == 1, "one equals 1");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue