mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
11 lines
205 B
C++
11 lines
205 B
C++
#include "keyboard/candidates.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(Candidates, cast) {
|
|
widget_t* w = candidates_create(NULL, 10, 20, 30, 40);
|
|
|
|
ASSERT_EQ(w, candidates_cast(w));
|
|
|
|
widget_destroy(w);
|
|
}
|