1module Hakyll.Core.DirectedGraph.Tests
6import qualified Data.Set as S
9import Test.Framework.Providers.HUnit
10import Test.HUnit hiding (Test)
12import Hakyll.Core.DirectedGraph
13import Hakyll.Core.DirectedGraph.DependencySolver
17 [ testCase "solveDependencies [1]" solveDependencies1
20node :: Ord a => a -> [a] -> (a, Set a)
21node t n = (t, S.fromList n)
23testGraph01 :: DirectedGraph Int
32solveDependencies1 :: Assertion
33solveDependencies1 = result == [3, 4, 2, 6, 8] || result == [3, 4, 2, 6, 8]
34 @? "solveDependencies1"
36 result = solveDependencies testGraph01
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list