awtk/tests/app_bar_test.cc

11 lines
191 B
C++
Raw Normal View History

2019-02-26 09:47:52 +08:00
#include "widgets/app_bar.h"
#include "gtest/gtest.h"
TEST(AppBar, cast) {
widget_t* w = app_bar_create(NULL, 10, 20, 30, 40);
ASSERT_EQ(w, app_bar_cast(w));
widget_destroy(w);
}