You've already forked libart-validation
Hello libart-validation
All checks were successful
on-push / build-and-test (push) Successful in 12s
All checks were successful
on-push / build-and-test (push) Successful in 12s
This commit is contained in:
31
tests/basics/basics.cxx
Normal file
31
tests/basics/basics.cxx
Normal file
@@ -0,0 +1,31 @@
|
||||
#include <art/validation/main.hxx>
|
||||
|
||||
VALIDATION_TEST_SETUP
|
||||
{
|
||||
}
|
||||
|
||||
VALIDATION_TEST_TEARDOWN
|
||||
{
|
||||
}
|
||||
|
||||
VALIDATION_TEST(test_true)
|
||||
{
|
||||
VALIDATION_ASSERT_TRUE(true == true);
|
||||
}
|
||||
|
||||
VALIDATION_TEST(test_false)
|
||||
{
|
||||
VALIDATION_ASSERT_FALSE(true == false);
|
||||
}
|
||||
|
||||
VALIDATION_TEST(test_null)
|
||||
{
|
||||
int* ptr{nullptr};
|
||||
VALIDATION_ASSERT_NULL(ptr);
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
return art::validation::main(argc, argv);
|
||||
}
|
||||
Reference in New Issue
Block a user