This commit is contained in:
Relintai 2023-01-16 21:49:15 +01:00
parent 0cfa32c9aa
commit 0a79f38843

View File

@ -16,9 +16,35 @@ public:
// bool process() -> return true when finished
// bool _process()
//sub_section_start(name)
//sub_section_end()
// test(name);
// testing(name); //maybe?
// assert(a == "b", "Testing whenther a == b")
// assert_equals(a, "b") ? -> could generate text automatically
//---
/*
bool _process() {
testing("String int conversion.");
assert(String::num(1) == "1");
//or
testing("String int conversion.");
//cpp macro
UTASSERT(String::num(1) == "1"); -> assert(String::num(1) == "1", __LINE__);
sub_section_start(name)
}
*/
///---
// process type: process, physics process
//api to get results
@ -27,6 +53,8 @@ public:
//get_runner() -> returns runner
UnitTest();
virtual ~UnitTest();