mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
11 lines
180 B
C++
11 lines
180 B
C++
#include "widgets/view.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(View, cast) {
|
|
widget_t* w = view_create(NULL, 10, 20, 30, 40);
|
|
|
|
ASSERT_EQ(w, view_cast(w));
|
|
|
|
widget_destroy(w);
|
|
}
|