awtk/tests/candidates_test.cc

11 lines
205 B
C++
Raw Normal View History

2019-02-26 14:15:07 +08:00
#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);
}