tests: add multiple results integration test

Make sure we return all of the relevant results, even in cases with
lots of results (larger than ENTR_PER_PAGE in the offset index) and
where you have a synyonym and headword present for the same word.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai
2021-10-31 18:35:34 +11:00
committed by Evgeniy Dushistov
parent 4a9b1dae3d
commit d054adb37c
7 changed files with 79 additions and 1 deletions

View File

@@ -143,5 +143,6 @@ if (BUILD_TESTS)
add_sdcv_shell_test(t_utf8input)
add_sdcv_shell_test(t_datadir)
add_sdcv_shell_test(t_return_code)
add_sdcv_shell_test(t_multiple_results)
endif (BUILD_TESTS)