mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
11 lines
213 B
C++
11 lines
213 B
C++
#include "guage/guage_pointer.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(GuagePointer, cast) {
|
|
widget_t* w = guage_pointer_create(NULL, 0, 0, 100, 100);
|
|
|
|
ASSERT_EQ(w, guage_pointer_cast(w));
|
|
|
|
widget_destroy(w);
|
|
}
|