mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
21 lines
444 B
C
21 lines
444 B
C
#include "test_common.h"
|
|
TEST_START
|
|
|
|
#if PIKA_GC_MARK_SWEEP_ENABLE
|
|
|
|
TEST(pikaui, page) {
|
|
/* init */
|
|
g_PikaMemInfo.heapUsedMax = 0;
|
|
PikaObj* pikaMain = newRootObj("pikaMain", New_PikaMain);
|
|
/* run */
|
|
__platform_printf("BEGIN\r\n");
|
|
pikaVM_runFile(pikaMain, "test/python/PikaUI/test_page.py");
|
|
/* collect */
|
|
/* assert */
|
|
/* deinit */
|
|
obj_deinit(pikaMain);
|
|
EXPECT_EQ(pikaMemNow(), 0);
|
|
}
|
|
|
|
#endif
|
|
TEST_END |