awtk/tests/column_test.cc

11 lines
188 B
C++
Raw Normal View History

2019-02-26 09:47:52 +08:00
#include "widgets/column.h"
#include "gtest/gtest.h"
TEST(Column, cast) {
widget_t* w = column_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, column_cast(w));
widget_destroy(w);
}