awtk/tests/tab_control_test.cc
2019-02-26 11:39:24 +08:00

11 lines
207 B
C++

#include "widgets/tab_control.h"
#include "gtest/gtest.h"
TEST(TabControl, cast) {
widget_t* w = tab_control_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, tab_control_cast(w));
widget_destroy(w);
}