awtk/tests/dialog_client_test.cc

11 lines
214 B
C++
Raw Normal View History

2019-02-26 09:56:25 +08:00
#include "widgets/dialog_client.h"
#include "gtest/gtest.h"
TEST(DialgClient, cast) {
widget_t* w = dialog_client_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, dialog_client_cast(w));
widget_destroy(w);
}