]> Git — Sourcephile - gargantext.git/blob - src-test/Main.hs
[FIX] memory leak, useable ngrams table version (WIP)
[gargantext.git] / src-test / Main.hs
1 {-|
2 Module : Main.hs
3 Description : Main for Gargantext Tests
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9 -}
10
11
12 import Gargantext.Prelude
13 import Gargantext.Core (Lang(..))
14 --import qualified Ngrams.Lang.Fr as Fr
15 --import qualified Ngrams.Lang as Lang
16 import qualified Ngrams.Lang.Occurrences as Occ
17 import qualified Ngrams.Metrics as Metrics
18 import qualified Parsers.Date as PD
19 import qualified Graph.Distance as GD
20 import qualified Utils.Crypto as Crypto
21
22 main :: IO ()
23 main = do
24 -- Occ.parsersTest
25 -- Lang.ngramsExtractionTest FR
26 -- Lang.ngramsExtractionTest EN
27 -- Metrics.main
28 PD.testFromRFC3339
29 -- GD.test
30 Crypto.test