mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-12 12:05:20 +08:00
11 lines
191 B
C++
11 lines
191 B
C++
#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);
|
|
}
|