awtk/tests/row_test.cc

11 lines
176 B
C++
Raw Normal View History

2019-02-26 11:21:39 +08:00
#include "widgets/row.h"
#include "gtest/gtest.h"
TEST(Row, cast) {
widget_t* w = row_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, row_cast(w));
widget_destroy(w);
}