Avl Test case passed
This commit is contained in:
parent
2c94e02260
commit
88511539ac
3 changed files with 129 additions and 9 deletions
|
|
@ -1,6 +1,8 @@
|
|||
|
||||
#include "Module.hpp"
|
||||
|
||||
#include "Common.hpp"
|
||||
|
||||
int main() {
|
||||
tp::ModuleManifest* ModuleDependencies[] = { &tp::gModuleBase, nullptr };
|
||||
tp::ModuleManifest TestModule("Test", nullptr, nullptr, ModuleDependencies);
|
||||
|
|
@ -11,5 +13,10 @@ int main() {
|
|||
|
||||
ASSERT(tp::gEnvironment.mWidth == tp::Environment::ArchWidth::X64);
|
||||
|
||||
ASSERT(tp::max(2, 1) == 2);
|
||||
ASSERT(tp::max(-1, 0) == 0);
|
||||
ASSERT(tp::max(0, -1) == 0);
|
||||
ASSERT(tp::min(0, -1) == -1);
|
||||
|
||||
TestModule.deinitialize();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue