diff options
author | Martin Hamrle <martin.hamrle@monetas.net> | 2015-03-02 22:08:29 +0100 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-03-20 14:41:38 +0800 |
commit | 94e9d6a5ef97884de84debf06680806661272523 (patch) | |
tree | 4a5765bf6d96e9edad5be9780a02a759a43ce167 /fish_tests.cpp | |
parent | 733108e33bc651e1292a50d7e5a88b46d460836e (diff) |
Add paging into navigating pager
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index 6cab5a66..c51ea8ab 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -1664,7 +1664,19 @@ static void test_pager_navigation() {direction_north, 18}, {direction_west, 14}, {direction_south, 15}, - {direction_north, 14} + {direction_north, 14}, + + /* pages */ + {direction_page_north, 12}, + {direction_page_south, 15}, + {direction_page_north, 12}, + {direction_east, 16}, + {direction_page_south, 18}, + {direction_east, 3}, + {direction_north, 2}, + {direction_page_north, 0}, + {direction_page_south, 3}, + }; for (size_t i=0; i < sizeof cmds / sizeof *cmds; i++) { |