]> Git — Sourcephile - gargantext.git/blob - src-test/Graph/Distance.hs
[conduit] some work towards flow migration to conduit
[gargantext.git] / src-test / Graph / Distance.hs
1
2 {-|
3 Module : Graph.Distance
4 Description :
5 Copyright : (c) CNRS, 2017-Present
6 License : AGPL + CECILL v3
7 Maintainer : team@gargantext.org
8 Stability : experimental
9 Portability : POSIX
10
11 Here is a longer description of this module, containing some
12 commentary with @some markup@.
13 -}
14
15
16 module Graph.Distance where
17
18 import Test.Hspec
19
20 {-
21 import Gargantext.Core.Methods.Matrix.Accelerate.Utils (cross', matrix)
22 import Gargantext.Prelude
23
24 test :: IO ()
25 test = hspec $ do
26 describe "Cross" $ do
27 let result = cross' $ matrix 3 ([1,1..] :: [Double])
28 it "compare" $ do
29 shouldBe result (matrix 3 ([2,2..] :: [Double]))
30 -}