test: add a has_slider check for the airbrush tool

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-02-22 10:00:17 +10:00
parent 4ce0fe4a2d
commit dbefce8ffe

View file

@ -2719,6 +2719,8 @@ START_TEST(airbrush_tool)
ck_assert_int_eq(libinput_tablet_tool_get_type(tool),
LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH);
ck_assert(libinput_tablet_tool_has_slider(tool));
libinput_event_destroy(event);
}
END_TEST