]> Git — Sourcephile - gargantext.git/commit
Add some basic pagination tests
authorAlfredo Di Napoli <alfredo.dinapoli@gmail.com>
Tue, 2 May 2023 14:24:50 +0000 (16:24 +0200)
committerAlfredo Di Napoli <alfredo@well-typed.com>
Wed, 3 May 2023 06:57:28 +0000 (08:57 +0200)
commit7b955a56745164a7db503c1799b26987ae73390b
tree4bf17894386cab2e9165db26dd36678f1254e9ae
parent92be964e4672511963f546ecb15118fc4c7f51de
Add some basic pagination tests

This commit adds some basic tests for the Ngrams pagination,
capitalizing on the refactoring of the `searchTableNgrams` function,
which is now pure and can be tested fairly easily.
gargantext.cabal
package.yaml
src-test/Main.hs
src-test/Ngrams/Query.hs [new file with mode: 0644]
src/Gargantext/API/Ngrams.hs
src/Gargantext/API/Ngrams/Types.hs