We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
order
1 parent f0a9c7a commit 208d83dCopy full SHA for 208d83d
test/Data/Graph/Inductive/Graph/Properties.hs
@@ -93,14 +93,14 @@ valid_mkGraph_order p (GNEs ns es) = all (equal g)
93
valid_match :: (Graph gr) => gr a b -> Property
94
valid_match g = not (isEmpty g) ==> check_match <$> elements (nodes g)
95
where
96
- order = noNodes g
+ ordr = noNodes g
97
98
check_match n = maybe False check_context mc
99
100
(mc, g') = match n g
101
102
check_context c = (node' c `notElem` nodes g')
103
- && (noNodes g' == order - 1)
+ && (noNodes g' == ordr - 1)
104
-- Edges were previously in the graph
105
&& all (elem (node' c) . pre g) (sucC c)
106
&& all (elem (node' c) . suc g) (preC c)
0 commit comments