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