Files
Library/tests/standalone/Testing/Math.cpp
faumaray e7186f17f0 Testing module
Signed-off-by: faumaray <faumaray@gmail.com>
2026-04-29 22:49:33 +03:00

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");
}