mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 03:28:53 +08:00
12 lines
218 B
C++
12 lines
218 B
C++
#include "widgets/grid_item.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(GridItem, cast) {
|
|
widget_t* w = grid_item_create(NULL, 10, 20, 30, 40);
|
|
|
|
ASSERT_EQ(w, grid_item_cast(w));
|
|
|
|
widget_destroy(w);
|
|
idle_dispatch();
|
|
}
|