This repository has been archived on 2024-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2024-01-30 21:31:31 +00:00
|
|
|
#include <maintree/maintree.h>
|
2024-01-30 23:58:11 +00:00
|
|
|
#include <stdio.h>
|
2024-01-30 21:31:31 +00:00
|
|
|
|
2024-01-30 23:58:11 +00:00
|
|
|
int main()
|
2024-01-30 21:31:31 +00:00
|
|
|
{
|
2024-01-30 23:58:11 +00:00
|
|
|
MtState *state = mt_initialize("Interface Test");;
|
|
|
|
MtEntity* entity = mt_summon(state);
|
2024-01-30 21:31:31 +00:00
|
|
|
mt_drop(entity);
|
|
|
|
mt_cleanup(state);
|
2024-01-30 23:58:11 +00:00
|
|
|
puts("The program reached the end; this test is considered as passed. SUCCESS!");
|
|
|
|
puts("Note: A memory leak check utility should be used to verify the success.");
|
|
|
|
return 0;
|
2024-01-30 21:31:31 +00:00
|
|
|
}
|