def test_example_other_scrollbar() -> None: """ Test scrollbar example. """ pygame.event.post(PygameEventUtils.keydown(pygame.K_v, inlist=False)) pygame.event.post(PygameEventUtils.keydown(pygame.K_h, inlist=False)) scrollbar.main(test=True) scrollbar.h_changed(1) scrollbar.v_changed(1)
def test_example_other_scroll_bar() -> None: """ Test scrollbar example. """ scroll_bar.main(test=True) test_reset_surface()