mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-05 05:27:58 +08:00
11 lines
221 B
C++
11 lines
221 B
C++
#include "canvas_widget/canvas_widget.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(CanvasWidget, cast) {
|
|
widget_t* w = canvas_widget_create(NULL, 10, 20, 30, 40);
|
|
|
|
ASSERT_EQ(w, canvas_widget_cast(w));
|
|
|
|
widget_destroy(w);
|
|
}
|