test(tests): added test suite

The test suite is extensive. Note that LLMs were used to aid in the development of the test suite. All LLM generated code was manually reviewed.
This commit is contained in:
2026-11-09 13:53:17 -05:00
parent 74e55a6859
commit cb20faeb3d
202 changed files with 35505 additions and 953 deletions

View File

@@ -4,5 +4,5 @@
int main() {
using namespace serif::utils::errors;
puts("Hello, world!\n");
serif_assert<SERiFErrorCode::EOS_ERROR, "This is a message that should be seen at compile time. I am now going to make this very long to make sure that it does not get truncated. If you want to exercise this turn the following bool to false (generally set to true to allow compilation)", true>();
serif_ensure<SERiFErrorCode::PRECONDITIONER_INCOMPATIBLE_STRATEGY, std::invalid_argument>(false, "This is a test error {}", "message");
}