awtk/tests/tab_button_group_test.cc
2019-02-26 11:36:12 +08:00

11 lines
226 B
C++

#include "widgets/tab_button_group.h"
#include "gtest/gtest.h"
TEST(TabButtonGroup, cast) {
widget_t* w = tab_button_group_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, tab_button_group_cast(w));
widget_destroy(w);
}