awtk/tests/list_view_h_test.cc

11 lines
210 B
C++

#include "scroll_view/list_view_h.h"
#include "gtest/gtest.h"
TEST(ListViewH, cast) {
widget_t* w = list_view_h_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, list_view_h_cast(w));
widget_destroy(w);
}