def test(tc)
tc.assert_bool active?
tc.assert_instance_of(Float, speed)
tc.assert_instance_of(Integer, time)
tc.assert_instance_of(Integer, resolution)
flags = {
can_do_single_sync? => Gst::Clock::FLAG_CAN_DO_SINGLE_SYNC,
can_do_single_async? => Gst::Clock::FLAG_CAN_DO_SINGLE_ASYNC,
can_do_periodic_sync? => Gst::Clock::FLAG_CAN_DO_PERIODIC_SYNC,
can_do_periodic_async? => Gst::Clock::FLAG_CAN_DO_PERIODIC_ASYNC,
can_set_resolution? => Gst::Clock::FLAG_CAN_SET_RESOLUTION,
can_set_speed? => Gst::Clock::FLAG_CAN_SET_SPEED
}
test_flags(tc, flags)
end