Forgot a ton of files in the last commit.

This commit is contained in:
Zed A. Shaw 2025-05-05 12:11:51 -04:00
parent f5f5ca6431
commit df024adccd
24 changed files with 560 additions and 0 deletions

18
tests/dbc.cpp Normal file
View file

@ -0,0 +1,18 @@
#include <catch2/catch_test_macros.hpp>
#include "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");
}