awtk/tests/clip_view_test.cc
2019-12-17 18:03:49 +08:00

11 lines
199 B
C++
Executable File

#include "widgets/clip_view.h"
#include "gtest/gtest.h"
TEST(ClipView, cast) {
widget_t* w = clip_view_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, clip_view_cast(w));
widget_destroy(w);
}