diff options
author | David Robillard <d@drobilla.net> | 2023-01-11 14:27:55 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-11 17:06:13 -0500 |
commit | 5db9735bb07d84e74936c252ca1c62fdeb2dd117 (patch) | |
tree | c8e981e32f6568e9e28575d8cd73b7802a9a6eb2 /test/test_show_hide.c | |
parent | 26d648604c522d89a4e564214924f786b786e29f (diff) | |
download | pugl-5db9735bb07d84e74936c252ca1c62fdeb2dd117.tar.gz pugl-5db9735bb07d84e74936c252ca1c62fdeb2dd117.tar.bz2 pugl-5db9735bb07d84e74936c252ca1c62fdeb2dd117.zip |
Improve test coverage
Diffstat (limited to 'test/test_show_hide.c')
-rw-r--r-- | test/test_show_hide.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_show_hide.c b/test/test_show_hide.c index 2709daf..3b0acae 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -84,9 +84,9 @@ tick(PuglWorld* world) static void showHide(PuglTest* const test) { - // Show and hide window a couple of times - for (unsigned i = 0U; i < 2U; ++i) { - assert(!puglShow(test->view, PUGL_SHOW_RAISE)); + // Show and hide window a few times + for (unsigned i = 0U; i < 3U; ++i) { + assert(!puglShow(test->view, (PuglShowCommand)i)); while (test->state != EXPOSED) { tick(test->world); } |