24 lines
494 B
C++
24 lines
494 B
C++
#include <Void/Testing/Assert.hpp>
|
|
#include <Void/Testing/Test.hpp>
|
|
|
|
Void::Testing::Test addition()
|
|
{
|
|
int a = 1 + 1;
|
|
Void::Testing::expect_eq(a, 2);
|
|
}
|
|
|
|
// @tag integration, database
|
|
Void::Testing::Test db_query() { Void::Testing::expect(true); }
|
|
|
|
// @skip "Feature #42 not implemented"
|
|
Void::Testing::DisabledTest broken_feature()
|
|
{
|
|
Void::Testing::fail("this is not ready yet");
|
|
}
|
|
|
|
// @skip not ready yet
|
|
Void::Testing::DisabledTest unquoted_skip()
|
|
{
|
|
Void::Testing::fail("must not run");
|
|
}
|