awtk/tests/dialog_title_test.cc

11 lines
210 B
C++
Raw Normal View History

2019-02-26 09:58:04 +08:00
#include "widgets/dialog_title.h"
#include "gtest/gtest.h"
TEST(DialgTitle, cast) {
widget_t* w = dialog_title_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, dialog_title_cast(w));
widget_destroy(w);
}