Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
0d8a77c4
Verified
Commit
0d8a77c4
authored
Dec 30, 2024
by
Przemyslaw Kaminski
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ngrams, test] refactor: Count -> Terms
parent
85f1dffe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
gargantext.cabal
gargantext.cabal
+1
-1
Terms.hs
test/Test/Ngrams/Terms.hs
+2
-2
Main.hs
test/drivers/tasty/Main.hs
+2
-2
No files found.
gargantext.cabal
View file @
0d8a77c4
...
@@ -805,7 +805,6 @@ test-suite garg-test-tasty
...
@@ -805,7 +805,6 @@ test-suite garg-test-tasty
Test.Graph.Clustering
Test.Graph.Clustering
Test.Graph.Distance
Test.Graph.Distance
Test.Instances
Test.Instances
Test.Ngrams.Count
Test.Ngrams.Lang
Test.Ngrams.Lang
Test.Ngrams.Lang.En
Test.Ngrams.Lang.En
Test.Ngrams.Lang.Fr
Test.Ngrams.Lang.Fr
...
@@ -814,6 +813,7 @@ test-suite garg-test-tasty
...
@@ -814,6 +813,7 @@ test-suite garg-test-tasty
Test.Ngrams.NLP
Test.Ngrams.NLP
Test.Ngrams.Query
Test.Ngrams.Query
Test.Ngrams.Query.PaginationCorpus
Test.Ngrams.Query.PaginationCorpus
Test.Ngrams.Terms
Test.Offline.Errors
Test.Offline.Errors
Test.Offline.JSON
Test.Offline.JSON
Test.Offline.Phylo
Test.Offline.Phylo
...
...
test/Test/Ngrams/
Count
.hs
→
test/Test/Ngrams/
Terms
.hs
View file @
0d8a77c4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeApplications #-}
module
Test.Ngrams.
Count
(
tests
)
where
module
Test.Ngrams.
Terms
(
tests
)
where
import
Data.HashMap.Strict
qualified
as
HashMap
import
Data.HashMap.Strict
qualified
as
HashMap
import
Data.Map.Strict
qualified
as
Map
import
Data.Map.Strict
qualified
as
Map
...
@@ -25,7 +25,7 @@ tests :: TestTree
...
@@ -25,7 +25,7 @@ tests :: TestTree
tests
=
testGroup
"Ngrams"
[
unitTests
]
tests
=
testGroup
"Ngrams"
[
unitTests
]
unitTests
::
TestTree
unitTests
::
TestTree
unitTests
=
testGroup
"
Count
tests"
unitTests
=
testGroup
"
Terms
tests"
[
-- Sorting
[
-- Sorting
testCase
"Build patterns works 01"
testBuildPatterns01
testCase
"Build patterns works 01"
testBuildPatterns01
,
testCase
"Build patterns works 02"
testBuildPatterns02
,
testCase
"Build patterns works 02"
testBuildPatterns02
...
...
test/drivers/tasty/Main.hs
View file @
0d8a77c4
...
@@ -19,10 +19,10 @@ import qualified Test.Core.Text.Corpus.TSV as TSVParser
...
@@ -19,10 +19,10 @@ import qualified Test.Core.Text.Corpus.TSV as TSVParser
import
qualified
Test.Core.Utils
as
Utils
import
qualified
Test.Core.Utils
as
Utils
import
qualified
Test.Core.Worker
as
Worker
import
qualified
Test.Core.Worker
as
Worker
import
qualified
Test.Graph.Clustering
as
Graph
import
qualified
Test.Graph.Clustering
as
Graph
import
qualified
Test.Ngrams.Count
as
NgramsCount
import
qualified
Test.Ngrams.Lang.Occurrences
as
Occurrences
import
qualified
Test.Ngrams.Lang.Occurrences
as
Occurrences
import
qualified
Test.Ngrams.NLP
as
NLP
import
qualified
Test.Ngrams.NLP
as
NLP
import
qualified
Test.Ngrams.Query
as
NgramsQuery
import
qualified
Test.Ngrams.Query
as
NgramsQuery
import
qualified
Test.Ngrams.Terms
as
NgramsTerms
import
qualified
Test.Offline.Errors
as
Errors
import
qualified
Test.Offline.Errors
as
Errors
import
qualified
Test.Offline.JSON
as
JSON
import
qualified
Test.Offline.JSON
as
JSON
import
qualified
Test.Offline.Phylo
as
Phylo
import
qualified
Test.Offline.Phylo
as
Phylo
...
@@ -75,5 +75,5 @@ main = do
...
@@ -75,5 +75,5 @@ main = do
,
Worker
.
tests
,
Worker
.
tests
,
asyncUpdatesSpec
,
asyncUpdatesSpec
,
Notifications
.
qcTests
,
Notifications
.
qcTests
,
Ngrams
Count
.
tests
,
Ngrams
Terms
.
tests
]
]
Przemyslaw Kaminski
@cgenie
mentioned in commit
03b33383
·
Jan 30, 2025
mentioned in commit
03b33383
mentioned in commit 03b33383dd67c1821a4edb4628923cf7bd039d90
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment