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:
@@ -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");
|
||||
}
|
||||
Reference in New Issue
Block a user