awtk/tests/grid_item_test.cc

12 lines
218 B
C++
Raw Normal View History

2019-02-26 10:14:22 +08:00
#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);
2020-10-18 12:17:55 +08:00
idle_dispatch();
2019-02-26 10:14:22 +08:00
}