mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00: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);
|
|
}
|