mirror of
https://github.com/github/semantic.git
synced 2025-01-04 05:27:08 +03:00
Scale down the sizes by a factor of four.
This commit is contained in:
parent
a5af331f71
commit
58138d5867
@ -31,7 +31,7 @@ spec = parallel $ do
|
|||||||
|
|
||||||
describe "rws" $ do
|
describe "rws" $ do
|
||||||
let compare a b = if extract a == extract b then Just (pure (Replace a b)) else Nothing
|
let compare a b = if extract a == extract b then Just (pure (Replace a b)) else Nothing
|
||||||
prop "produces correct diffs" $
|
prop "produces correct diffs" . forAll (scale (`div` 4) arbitrary) $
|
||||||
\ (as, bs) -> let tas = toTerm <$> as
|
\ (as, bs) -> let tas = toTerm <$> as
|
||||||
tbs = toTerm <$> bs
|
tbs = toTerm <$> bs
|
||||||
diff = free (Free (pure Program :< Indexed (rws compare identity tas tbs :: [Diff Text Category]))) in
|
diff = free (Free (pure Program :< Indexed (rws compare identity tas tbs :: [Diff Text Category]))) in
|
||||||
|
Loading…
Reference in New Issue
Block a user