build checks.x86_64-linux.mutation-really-safe-money
473.72 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:320:9-10:
473.72 s
[really-safe-money-gen] @@ -317,7 +317,7 @@
473.72 s
[really-safe-money-gen] Double ->
473.72 s
[really-safe-money-gen] Maybe Amount
473.72 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
473.72 s
[really-safe-money-gen] - | d < 0 = Nothing
473.72 s
[really-safe-money-gen] + | d < 1 = Nothing
473.72 s
[really-safe-money-gen] | otherwise =
473.72 s
[really-safe-money-gen] let resultDouble :: Double
473.72 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 ->Testing mutation ConstBool at src/Money/Amount.hs:320:5-10:
473.72 s
[really-safe-money-gen] @@ -317,7 +317,7 @@
473.72 s
[really-safe-money-gen] Double ->
473.72 s
[really-safe-money-gen] Maybe Amount
473.72 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
473.72 s
[really-safe-money-gen] - | d < 0 = Nothing
473.72 s
[really-safe-money-gen] + | True = Nothing
473.72 s
[really-safe-money-gen] | otherwise =
473.72 s
[really-safe-money-gen] let resultDouble :: Double
473.72 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
473.72 s
[really-safe-money-gen]
473.86 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:320:5-10:
473.86 s
[really-safe-money-gen] @@ -317,7 +317,7 @@
473.86 s
[really-safe-money-gen] Double ->
473.86 s
[really-safe-money-gen] Maybe Amount
473.86 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
473.86 s
[really-safe-money-gen] - | d < 0 = Nothing
473.86 s
[really-safe-money-gen] + | False = Nothing
473.86 s
[really-safe-money-gen] | otherwise =
473.86 s
[really-safe-money-gen] let resultDouble :: Double
473.86 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
473.86 s
[really-safe-money-gen]
474.01 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:320:5-10:
474.01 s
[really-safe-money-gen] @@ -317,7 +317,7 @@
474.02 s
[really-safe-money-gen] Double ->
474.02 s
[really-safe-money-gen] Maybe Amount
474.02 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
474.02 s
[really-safe-money-gen] - | d < 0 = Nothing
474.02 s
[really-safe-money-gen] + | not (d < 0) = Nothing
474.02 s
[really-safe-money-gen] | otherwise =
474.02 s
[really-safe-money-gen] let resultDouble :: Double
474.02 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
474.02 s
[really-safe-money-gen]
474.18 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:321:5-14:
474.18 s
[really-safe-money-gen] @@ -318,7 +318,7 @@
474.18 s
[really-safe-money-gen] Maybe Amount
474.18 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
474.18 s
[really-safe-money-gen] | d < 0 = Nothing
474.18 s
[really-safe-money-gen] - | otherwise =
474.18 s
[really-safe-money-gen] + | True =
474.18 s
[really-safe-money-gen] let resultDouble :: Double
474.18 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
474.18 s
[really-safe-money-gen] in go resultDouble
474.18 s
[really-safe-money-gen]
474.33 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:321:5-14:
474.33 s
[really-safe-money-gen] @@ -318,7 +318,7 @@
474.33 s
[really-safe-money-gen] Maybe Amount
474.33 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
474.33 s
[really-safe-money-gen] | d < 0 = Nothing
474.33 s
[really-safe-money-gen] - | otherwise =
474.33 s
[really-safe-money-gen] + | False =
474.33 s
[really-safe-money-gen] let resultDouble :: Double
474.33 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
474.33 s
[really-safe-money-gen] in go resultDouble
474.33 s
[really-safe-money-gen]
474.48 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:321:5-14:
474.48 s
[really-safe-money-gen] @@ -318,7 +318,7 @@
474.48 s
[really-safe-money-gen] Maybe Amount
474.48 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
474.48 s
[really-safe-money-gen] | d < 0 = Nothing
474.48 s
[really-safe-money-gen] - | otherwise =
474.48 s
[really-safe-money-gen] + | not (otherwise) =
474.48 s
[really-safe-money-gen] let resultDouble :: Double
474.48 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
474.48 s
[really-safe-money-gen] in go resultDouble
474.48 s
[really-safe-money-gen]
474.58 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:327:9-16:
474.58 s
[really-safe-money-gen] @@ -324,7 +324,7 @@
474.58 s
[really-safe-money-gen] in go resultDouble
474.58 s
[really-safe-money-gen] where
474.58 s
[really-safe-money-gen] go resultDouble
474.58 s
[really-safe-money-gen] - | isNaN d = Nothing
474.58 s
[really-safe-money-gen] + | True = Nothing
474.58 s
[really-safe-money-gen] | isInfinite d = Nothing
474.58 s
[really-safe-money-gen] | otherwise =
474.58 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
474.58 s
[really-safe-money-gen]
474.74 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:327:9-16:
474.74 s
[really-safe-money-gen] @@ -324,7 +324,7 @@
474.75 s
[really-safe-money-gen] in go resultDouble
474.75 s
[really-safe-money-gen] where
474.75 s
[really-safe-money-gen] go resultDouble
474.75 s
[really-safe-money-gen] - | isNaN d = Nothing
474.75 s
[really-safe-money-gen] + | False = Nothing
474.75 s
[really-safe-money-gen] | isInfinite d = Nothing
474.75 s
[really-safe-money-gen] | otherwise =
474.75 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
474.75 s
[really-safe-money-gen]
474.91 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:327:9-16:
474.91 s
[really-safe-money-gen] @@ -324,7 +324,7 @@
474.91 s
[really-safe-money-gen] in go resultDouble
474.91 s
[really-safe-money-gen] where
474.91 s
[really-safe-money-gen] go resultDouble
474.91 s
[really-safe-money-gen] - | isNaN d = Nothing
474.91 s
[really-safe-money-gen] + | not (isNaN d) = Nothing
474.91 s
[really-safe-money-gen] | isInfinite d = Nothing
474.91 s
[really-safe-money-gen] | otherwise =
474.91 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
474.91 s
[really-safe-money-gen]
475.08 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:328:9-21:
475.08 s
[really-safe-money-gen] @@ -325,7 +325,7 @@
475.08 s
[really-safe-money-gen] where
475.08 s
[really-safe-money-gen] go resultDouble
475.08 s
[really-safe-money-gen] | isNaN d = Nothing
475.08 s
[really-safe-money-gen] - | isInfinite d = Nothing
475.08 s
[really-safe-money-gen] + | True = Nothing
475.08 s
[really-safe-money-gen] | otherwise =
475.08 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
475.08 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
475.08 s
[really-safe-money-gen]
475.25 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:328:9-21:
475.25 s
[really-safe-money-gen] @@ -325,7 +325,7 @@
475.25 s
[really-safe-money-gen] where
475.25 s
[really-safe-money-gen] go resultDouble
475.25 s
[really-safe-money-gen] | isNaN d = Nothing
475.25 s
[really-safe-money-gen] - | isInfinite d = Nothing
475.25 s
[really-safe-money-gen] + | False = Nothing
475.25 s
[really-safe-money-gen] | otherwise =
475.25 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
475.25 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
475.25 s
[really-safe-money-gen]
475.42 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:328:9-21:
475.42 s
[really-safe-money-gen] @@ -325,7 +325,7 @@
475.42 s
[really-safe-money-gen] where
475.42 s
[really-safe-money-gen] go resultDouble
475.42 s
[really-safe-money-gen] | isNaN d = Nothing
475.42 s
[really-safe-money-gen] - | isInfinite d = Nothing
475.42 s
[really-safe-money-gen] + | not (isInfinite d) = Nothing
475.42 s
[really-safe-money-gen] | otherwise =
475.42 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
475.42 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
475.42 s
[really-safe-money-gen]
475.60 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:329:9-18:
475.60 s
[really-safe-money-gen] @@ -326,7 +326,7 @@
475.60 s
[really-safe-money-gen] go resultDouble
475.60 s
[really-safe-money-gen] | isNaN d = Nothing
475.60 s
[really-safe-money-gen] | isInfinite d = Nothing
475.60 s
[really-safe-money-gen] - | otherwise =
475.60 s
[really-safe-money-gen] + | True =
475.61 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
475.61 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
475.61 s
[really-safe-money-gen] if exponent resultDouble > 65
475.61 s
[really-safe-money-gen]
475.75 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:329:9-18:
475.75 s
[really-safe-money-gen] @@ -326,7 +326,7 @@
475.75 s
[really-safe-money-gen] go resultDouble
475.75 s
[really-safe-money-gen] | isNaN d = Nothing
475.75 s
[really-safe-money-gen] | isInfinite d = Nothing
475.75 s
[really-safe-money-gen] - | otherwise =
475.75 s
[really-safe-money-gen] + | False =
475.75 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
475.75 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
475.75 s
[really-safe-money-gen] if exponent resultDouble > 65
475.75 s
[really-safe-money-gen]
475.90 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:329:9-18:
475.90 s
[really-safe-money-gen] @@ -326,7 +326,7 @@
475.90 s
[really-safe-money-gen] go resultDouble
475.90 s
[really-safe-money-gen] | isNaN d = Nothing
475.90 s
[really-safe-money-gen] | isInfinite d = Nothing
475.90 s
[really-safe-money-gen] - | otherwise =
475.90 s
[really-safe-money-gen] + | not (otherwise) =
475.90 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
475.90 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
475.90 s
[really-safe-money-gen] if exponent resultDouble > 65
475.90 s
[really-safe-money-gen]
476.00 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:332:38-40:
476.00 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
476.00 s
[really-safe-money-gen] | otherwise =
476.00 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
476.00 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
476.00 s
[really-safe-money-gen] - if exponent resultDouble > 65
476.00 s
[really-safe-money-gen] + if exponent resultDouble > 0
476.00 s
[really-safe-money-gen] then Nothing
476.00 s
[really-safe-money-gen] else
476.00 s
[really-safe-money-gen] let ceiled :: Natural
476.00 s
[really-safe-money-gen]
476.13 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:332:38-40:
476.13 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
476.13 s
[really-safe-money-gen] | otherwise =
476.13 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
476.13 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
476.14 s
[really-safe-money-gen] - if exponent resultDouble > 65
476.14 s
[really-safe-money-gen] + if exponent resultDouble > 1
476.14 s
[really-safe-money-gen] then Nothing
476.14 s
[really-safe-money-gen] else
476.14 s
[really-safe-money-gen] let ceiled :: Natural
476.14 s
[really-safe-money-gen]
476.27 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:332:38-40:
476.34 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
476.34 s
[really-safe-money-gen] | otherwise =
476.34 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
476.34 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
476.34 s
[really-safe-money-gen] - if exponent resultDouble > 65
476.34 s
[really-safe-money-gen] + if exponent resultDouble > -65
476.34 s
[really-safe-money-gen] then Nothing
476.34 s
[really-safe-money-gen] else
476.34 s
[really-safe-money-gen] let ceiled :: Natural
476.34 s
[really-safe-money-gen]
476.41 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:332:14-40:
476.41 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
476.41 s
[really-safe-money-gen] | otherwise =
476.41 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
476.41 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
476.41 s
[really-safe-money-gen] - if exponent resultDouble > 65
476.41 s
[really-safe-money-gen] + if True
476.41 s
[really-safe-money-gen] then Nothing
476.41 s
[really-safe-money-gen] else
476.41 s
[really-safe-money-gen] let ceiled :: Natural
476.41 s
[really-safe-money-gen]
476.62 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:332:14-40:
476.62 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
476.62 s
[really-safe-money-gen] | otherwise =
476.62 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
476.62 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
476.62 s
[really-safe-money-gen] - if exponent resultDouble > 65
476.62 s
[really-safe-money-gen] + if False
476.62 s
[really-safe-money-gen] then Nothing
476.62 s
[really-safe-money-gen] else
476.62 s
[really-safe-money-gen] let ceiled :: Natural
476.62 s
[really-safe-money-gen]
476.85 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:332:14-40:
476.85 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
476.85 s
[really-safe-money-gen] | otherwise =
476.85 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
476.85 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
476.85 s
[really-safe-money-gen] - if exponent resultDouble > 65
476.85 s
[really-safe-money-gen] + if not (exponent resultDouble > 65)
476.85 s
[really-safe-money-gen] then Nothing
476.85 s
[really-safe-money-gen] else
476.85 s
[really-safe-money-gen] let ceiled :: Natural
476.85 s
[really-safe-money-gen]
477.08 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:339:22-39:
477.08 s
[really-safe-money-gen] @@ -336,7 +336,7 @@
477.08 s
[really-safe-money-gen] ceiled = (ceiling :: Double -> Natural) resultDouble
477.08 s
[really-safe-money-gen] floored :: Natural
477.08 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
477.08 s
[really-safe-money-gen] - in if ceiled == floored
477.08 s
[really-safe-money-gen] + in if True
477.08 s
[really-safe-money-gen] then
477.08 s
[really-safe-money-gen] if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
477.08 s
[really-safe-money-gen] then Nothing
477.08 s
[really-safe-money-gen]
477.23 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:339:22-39:
477.23 s
[really-safe-money-gen] @@ -336,7 +336,7 @@
477.23 s
[really-safe-money-gen] ceiled = (ceiling :: Double -> Natural) resultDouble
477.23 s
[really-safe-money-gen] floored :: Natural
477.24 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
477.24 s
[really-safe-money-gen] - in if ceiled == floored
477.24 s
[really-safe-money-gen] + in if False
477.24 s
[really-safe-money-gen] then
477.24 s
[really-safe-money-gen] if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
477.24 s
[really-safe-money-gen] then Nothing
477.24 s
[really-safe-money-gen]
477.38 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:339:22-39:
477.38 s
[really-safe-money-gen] @@ -336,7 +336,7 @@
477.38 s
[really-safe-money-gen] ceiled = (ceiling :: Double -> Natural) resultDouble
477.38 s
[really-safe-money-gen] floored :: Natural
477.38 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
477.38 s
[really-safe-money-gen] - in if ceiled == floored
477.38 s
[really-safe-money-gen] + in if not (ceiled == floored)
477.38 s
[really-safe-money-gen] then
477.39 s
[really-safe-money-gen] if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
477.39 s
[really-safe-money-gen] then Nothing
477.39 s
[really-safe-money-gen]
477.53 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:341:26-91:
477.53 s
[really-safe-money-gen] @@ -338,7 +338,7 @@
477.53 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
477.53 s
[really-safe-money-gen] in if ceiled == floored
477.53 s
[really-safe-money-gen] then
477.53 s
[really-safe-money-gen] - if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
477.53 s
[really-safe-money-gen] + if True
477.53 s
[really-safe-money-gen] then Nothing
477.53 s
[really-safe-money-gen] else Just $ Amount (fromIntegral ceiled)
477.53 s
[really-safe-money-gen] else Nothing
477.53 s
[really-safe-money-gen]
477.76 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:341:26-91:
477.76 s
[really-safe-money-gen] @@ -338,7 +338,7 @@
477.76 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
477.76 s
[really-safe-money-gen] in if ceiled == floored
477.76 s
[really-safe-money-gen] then
477.76 s
[really-safe-money-gen] - if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
477.76 s
[really-safe-money-gen] + if False
477.76 s
[really-safe-money-gen] then Nothing
477.76 s
[really-safe-money-gen] else Just $ Amount (fromIntegral ceiled)
477.76 s
[really-safe-money-gen] else Nothing
477.76 s
[really-safe-money-gen]
477.98 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:341:26-91:
477.98 s
[really-safe-money-gen] @@ -338,7 +338,7 @@
477.98 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
477.98 s
[really-safe-money-gen] in if ceiled == floored
477.98 s
[really-safe-money-gen] then
477.98 s
[really-safe-money-gen] - if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
477.98 s
[really-safe-money-gen] + if not (ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64))
477.98 s
[really-safe-money-gen] then Nothing
477.98 s
[really-safe-money-gen] else Just $ Amount (fromIntegral ceiled)
477.98 s
[really-safe-money-gen] else Nothing
477.98 s
[really-safe-money-gen]
478.13 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/Amount.hs:341:23-65:
478.13 s
[really-safe-money-gen] @@ -338,7 +338,7 @@
478.13 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
478.13 s
[really-safe-money-gen] in if ceiled == floored
478.13 s
[really-safe-money-gen] then
478.13 s
[really-safe-money-gen] - if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
478.13 s
[really-safe-money-gen] + if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
478.13 s
[really-safe-money-gen] then Nothing
478.13 s
[really-safe-money-gen] else Just $ Amount (fromIntegral ceiled)
478.13 s
[really-safe-money-gen] else Nothing
478.13 s
[really-safe-money-gen]
478.28 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/Amount.hs:339:19-33:
478.28 s
[really-safe-money-gen] @@ -336,7 +336,7 @@
478.28 s
[really-safe-money-gen] ceiled = (ceiling :: Double -> Natural) resultDouble
478.28 s
[really-safe-money-gen] floored :: Natural
478.28 s
[really-safe-money-gen] floored = (floor :: Double -> Natural) resultDouble
478.28 s
[really-safe-money-gen] - in if ceiled == floored
478.28 s
[really-safe-money-gen] + in if ceiled == floored
478.28 s
[really-safe-money-gen] then
478.28 s
[really-safe-money-gen] if ceiled > (fromIntegral :: Word64 -> Natural) (maxBound :: Word64)
478.28 s
[really-safe-money-gen] then Nothing
478.28 s
[really-safe-money-gen]
478.43 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/Amount.hs:332:11-33:
478.43 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
478.43 s
[really-safe-money-gen] | otherwise =
478.43 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
478.43 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
478.43 s
[really-safe-money-gen] - if exponent resultDouble > 65
478.43 s
[really-safe-money-gen] + if exponent resultDouble > 65
478.43 s
[really-safe-money-gen] then Nothing
478.43 s
[really-safe-money-gen] else
478.43 s
[really-safe-money-gen] let ceiled :: Natural
478.43 s
[really-safe-money-gen]
478.65 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:290:79-80:
478.65 s
[really-safe-money-gen] @@ -287,7 +287,7 @@
478.65 s
[really-safe-money-gen] -- >>> toRatio (QuantisationFactor 100) (Amount 1)
478.65 s
[really-safe-money-gen] -- 1 % 100
478.65 s
[really-safe-money-gen] toRatio :: QuantisationFactor -> Amount -> Ratio Natural
478.65 s
[really-safe-money-gen] -toRatio (QuantisationFactor 0) a = fromIntegral (toMinimalQuantisations a) :% 0
478.65 s
[really-safe-money-gen] +toRatio (QuantisationFactor 0) a = fromIntegral (toMinimalQuantisations a) :% 1
478.65 s
[really-safe-money-gen] toRatio (QuantisationFactor quantisationFactor) a =
478.66 s
[really-safe-money-gen] (fromIntegral :: Word64 -> Natural) (toMinimalQuantisations a)
478.66 s
[really-safe-money-gen] % (fromIntegral :: Word32 -> Natural) quantisationFactor
478.66 s
[really-safe-money-gen]
478.75 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:494:96-97:
478.75 s
[really-safe-money-gen] @@ -491,7 +491,7 @@
478.75 s
[really-safe-money-gen] let maxBoundI :: Integer
478.75 s
[really-safe-money-gen] maxBoundI = fromIntegral (maxBound :: Word64)
478.75 s
[really-safe-money-gen] r :: Integer
478.75 s
[really-safe-money-gen] - r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 0 l
478.75 s
[really-safe-money-gen] + r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 1 l
478.75 s
[really-safe-money-gen] in if r > maxBoundI
478.75 s
[really-safe-money-gen] then Nothing
478.75 s
[really-safe-money-gen] else Just (Amount ((fromInteger :: Integer -> Word64) r))
478.75 s
[really-safe-money-gen]
478.85 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:495:10-23:
478.85 s
[really-safe-money-gen] @@ -492,7 +492,7 @@
478.85 s
[really-safe-money-gen] maxBoundI = fromIntegral (maxBound :: Word64)
478.85 s
[really-safe-money-gen] r :: Integer
478.85 s
[really-safe-money-gen] r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 0 l
478.85 s
[really-safe-money-gen] - in if r > maxBoundI
478.85 s
[really-safe-money-gen] + in if True
478.85 s
[really-safe-money-gen] then Nothing
478.85 s
[really-safe-money-gen] else Just (Amount ((fromInteger :: Integer -> Word64) r))
478.85 s
[really-safe-money-gen]
478.85 s
[really-safe-money-gen]
478.98 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:495:10-23:
478.98 s
[really-safe-money-gen] @@ -492,7 +492,7 @@
478.98 s
[really-safe-money-gen] maxBoundI = fromIntegral (maxBound :: Word64)
478.99 s
[really-safe-money-gen] r :: Integer
478.99 s
[really-safe-money-gen] r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 0 l
478.99 s
[really-safe-money-gen] - in if r > maxBoundI
478.99 s
[really-safe-money-gen] + in if False
478.99 s
[really-safe-money-gen] then Nothing
478.99 s
[really-safe-money-gen] else Just (Amount ((fromInteger :: Integer -> Word64) r))
478.99 s
[really-safe-money-gen]
478.99 s
[really-safe-money-gen]
479.12 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:495:10-23:
479.12 s
[really-safe-money-gen] @@ -492,7 +492,7 @@
479.12 s
[really-safe-money-gen] maxBoundI = fromIntegral (maxBound :: Word64)
479.12 s
[really-safe-money-gen] r :: Integer
479.12 s
[really-safe-money-gen] r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 0 l
479.12 s
[really-safe-money-gen] - in if r > maxBoundI
479.12 s
[really-safe-money-gen] + in if not (r > maxBoundI)
479.12 s
[really-safe-money-gen] then Nothing
479.12 s
[really-safe-money-gen] else Just (Amount ((fromInteger :: Integer -> Word64) r))
479.12 s
[really-safe-money-gen]
479.12 s
[really-safe-money-gen]
479.22 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/Amount.hs:495:7-66:
479.22 s
[really-safe-money-gen] @@ -492,7 +492,7 @@
479.22 s
[really-safe-money-gen] maxBoundI = fromIntegral (maxBound :: Word64)
479.22 s
[really-safe-money-gen] r :: Integer
479.22 s
[really-safe-money-gen] r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 0 l
479.22 s
[really-safe-money-gen] - in if r > maxBoundI
479.22 s
[really-safe-money-gen] + in if r > maxBoundI
479.22 s
[really-safe-money-gen] then Nothing
479.22 s
[really-safe-money-gen] else Just (Amount ((fromInteger :: Integer -> Word64) r))
479.22 s
[really-safe-money-gen]
479.22 s
[really-safe-money-gen]
479.32 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:250:15-16:
479.32 s
[really-safe-money-gen] @@ -247,7 +247,7 @@
479.32 s
[really-safe-money-gen] -- >>> zero
479.32 s
[really-safe-money-gen] -- Amount 0
479.32 s
[really-safe-money-gen] zero :: Amount
479.32 s
[really-safe-money-gen] -zero = Amount 0
479.32 s
[really-safe-money-gen] +zero = Amount 1
479.32 s
[really-safe-money-gen]
479.32 s
[really-safe-money-gen] -- | Turn an amount into a number of minimal quantisations.
479.32 s
[really-safe-money-gen] --
479.32 s
[really-safe-money-gen]
479.42 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:661:30-31:
479.42 s
[really-safe-money-gen] @@ -658,7 +658,7 @@
479.42 s
[really-safe-money-gen] -- | The amount and the real rate that was used, considering the 'Rounding'
479.42 s
[really-safe-money-gen] (Maybe Amount, Ratio Natural)
479.42 s
[really-safe-money-gen] fraction _ (Amount 0) f = (Just zero, f)
479.42 s
[really-safe-money-gen] -fraction _ _ 0 = (Just zero, 0)
479.42 s
[really-safe-money-gen] +fraction _ _ 0 = (Just zero, 1)
479.42 s
[really-safe-money-gen] fraction r (Amount a) f =
479.42 s
[really-safe-money-gen] let amountAsRatio :: Ratio Natural
479.42 s
[really-safe-money-gen] amountAsRatio = (fromIntegral :: Word64 -> Ratio Natural) a
479.42 s
[really-safe-money-gen]
479.63 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:681:12-37:
479.63 s
[really-safe-money-gen] @@ -678,7 +678,7 @@
479.63 s
[really-safe-money-gen] maxBoundN :: Natural
479.63 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
479.63 s
[really-safe-money-gen] result = Amount ((fromIntegral :: Natural -> Word64) roundedResult)
479.63 s
[really-safe-money-gen] - in ( if roundedResult > maxBoundN
479.63 s
[really-safe-money-gen] + in ( if True
479.63 s
[really-safe-money-gen] then Nothing
479.63 s
[really-safe-money-gen] else Just result,
479.63 s
[really-safe-money-gen] actualRate
479.63 s
[really-safe-money-gen]
479.79 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:681:12-37:
479.79 s
[really-safe-money-gen] @@ -678,7 +678,7 @@
479.79 s
[really-safe-money-gen] maxBoundN :: Natural
479.79 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
479.79 s
[really-safe-money-gen] result = Amount ((fromIntegral :: Natural -> Word64) roundedResult)
479.79 s
[really-safe-money-gen] - in ( if roundedResult > maxBoundN
479.79 s
[really-safe-money-gen] + in ( if False
479.79 s
[really-safe-money-gen] then Nothing
479.79 s
[really-safe-money-gen] else Just result,
479.79 s
[really-safe-money-gen] actualRate
479.79 s
[really-safe-money-gen]
479.96 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:681:12-37:
479.96 s
[really-safe-money-gen] @@ -678,7 +678,7 @@
479.96 s
[really-safe-money-gen] maxBoundN :: Natural
479.96 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
479.96 s
[really-safe-money-gen] result = Amount ((fromIntegral :: Natural -> Word64) roundedResult)
479.96 s
[really-safe-money-gen] - in ( if roundedResult > maxBoundN
479.96 s
[really-safe-money-gen] + in ( if not (roundedResult > maxBoundN)
479.96 s
[really-safe-money-gen] then Nothing
479.96 s
[really-safe-money-gen] else Just result,
479.96 s
[really-safe-money-gen] actualRate
479.96 s
[really-safe-money-gen]
480.13 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/Amount.hs:681:9-27:
480.13 s
[really-safe-money-gen] @@ -678,7 +678,7 @@
480.13 s
[really-safe-money-gen] maxBoundN :: Natural
480.13 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
480.13 s
[really-safe-money-gen] result = Amount ((fromIntegral :: Natural -> Word64) roundedResult)
480.13 s
[really-safe-money-gen] - in ( if roundedResult > maxBoundN
480.13 s
[really-safe-money-gen] + in ( if roundedResult > maxBoundN
480.13 s
[really-safe-money-gen] then Nothing
480.13 s
[really-safe-money-gen] else Just result,
480.13 s
[really-safe-money-gen] actualRate
480.13 s
[really-safe-money-gen]
480.29 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:806:79-92:
480.29 s
[really-safe-money-gen] @@ -803,4 +803,4 @@
480.29 s
[really-safe-money-gen]
480.29 s
[really-safe-money-gen] -- | Validate that an 'Amount' is strictly positive. I.e. not 'zero'.
480.29 s
[really-safe-money-gen] validateStrictlyPositive :: Amount -> Validation
480.29 s
[really-safe-money-gen] -validateStrictlyPositive amount = declare "The Amount is strictly positive" $ amount > zero
480.29 s
[really-safe-money-gen] +validateStrictlyPositive amount = declare "The Amount is strictly positive" $ True
480.29 s
[really-safe-money-gen]
480.29 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:806:79-92:
480.29 s
[really-safe-money-gen] @@ -803,4 +803,4 @@
480.29 s
[really-safe-money-gen]
480.29 s
[really-safe-money-gen] -- | Validate that an 'Amount' is strictly positive. I.e. not 'zero'.
480.29 s
[really-safe-money-gen] validateStrictlyPositive :: Amount -> Validation
480.29 s
[really-safe-money-gen] -validateStrictlyPositive amount = declare "The Amount is strictly positive" $ amount > zero
480.29 s
[really-safe-money-gen] +validateStrictlyPositive amount = declare "The Amount is strictly positive" $ False
480.29 s
[really-safe-money-gen]
480.29 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:806:79-92:
480.29 s
[really-safe-money-gen] @@ -803,4 +803,4 @@
480.29 s
[really-safe-money-gen]
480.29 s
[really-safe-money-gen] -- | Validate that an 'Amount' is strictly positive. I.e. not 'zero'.
480.29 s
[really-safe-money-gen] validateStrictlyPositive :: Amount -> Validation
480.30 s
[really-safe-money-gen] -validateStrictlyPositive amount = declare "The Amount is strictly positive" $ amount > zero
480.30 s
[really-safe-money-gen] +validateStrictlyPositive amount = declare "The Amount is strictly positive" $ not (amount > zero)
480.30 s
[really-safe-money-gen]
480.30 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:607:15-22:
480.30 s
[really-safe-money-gen] @@ -604,7 +604,7 @@
480.30 s
[really-safe-money-gen] case ad of
480.30 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.30 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.30 s
[really-safe-money-gen] - a1 > a2
480.30 s
[really-safe-money-gen] + True
480.30 s
[really-safe-money-gen] _ -> valid
480.30 s
[really-safe-money-gen] ]
480.30 s
[really-safe-money-gen]
480.30 s
[really-safe-money-gen]
480.50 s
[really-safe-money-gen] Double) qf
480.50 s
[really-safe-money-gen] Tests:
480.50 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 36.51 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.04 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.04 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:321:5-14:
480.51 s
[really-safe-money-gen] @@ -318,7 +318,7 @@
480.51 s
[really-safe-money-gen] Maybe Amount
480.51 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
480.51 s
[really-safe-money-gen] | d < 0 = Nothing
480.51 s
[really-safe-money-gen] - | otherwise =
480.51 s
[really-safe-money-gen] + | True =
480.51 s
[really-safe-money-gen] let resultDouble :: Double
480.51 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
480.51 s
[really-safe-money-gen] in go resultDouble
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 47.45 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.05 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:321:5-14:
480.51 s
[really-safe-money-gen] @@ -318,7 +318,7 @@
480.51 s
[really-safe-money-gen] Maybe Amount
480.51 s
[really-safe-money-gen] fromDouble (QuantisationFactor qf) d
480.51 s
[really-safe-money-gen] | d < 0 = Nothing
480.51 s
[really-safe-money-gen] - | otherwise =
480.51 s
[really-safe-money-gen] + | False =
480.51 s
[really-safe-money-gen] let resultDouble :: Double
480.51 s
[really-safe-money-gen] resultDouble = d * (fromIntegral :: Word32 -> Double) qf
480.51 s
[really-safe-money-gen] in go resultDouble
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 52.47 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.06 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:329:9-18:
480.51 s
[really-safe-money-gen] @@ -326,7 +326,7 @@
480.51 s
[really-safe-money-gen] go resultDouble
480.51 s
[really-safe-money-gen] | isNaN d = Nothing
480.51 s
[really-safe-money-gen] | isInfinite d = Nothing
480.51 s
[really-safe-money-gen] - | otherwise =
480.51 s
[really-safe-money-gen] + | True =
480.51 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
480.51 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
480.51 s
[really-safe-money-gen] if exponent resultDouble > 65
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 52.33 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.05 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:329:9-18:
480.51 s
[really-safe-money-gen] @@ -326,7 +326,7 @@
480.51 s
[really-safe-money-gen] go resultDouble
480.51 s
[really-safe-money-gen] | isNaN d = Nothing
480.51 s
[really-safe-money-gen] | isInfinite d = Nothing
480.51 s
[really-safe-money-gen] - | otherwise =
480.51 s
[really-safe-money-gen] + | False =
480.51 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
480.51 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
480.51 s
[really-safe-money-gen] if exponent resultDouble > 65
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 54.44 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.06 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:332:38-40:
480.51 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
480.51 s
[really-safe-money-gen] | otherwise =
480.51 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
480.51 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
480.51 s
[really-safe-money-gen] - if exponent resultDouble > 65
480.51 s
[really-safe-money-gen] + if exponent resultDouble > 0
480.51 s
[really-safe-money-gen] then Nothing
480.51 s
[really-safe-money-gen] else
480.51 s
[really-safe-money-gen] let ceiled :: Natural
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 46.32 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.05 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:332:38-40:
480.51 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
480.51 s
[really-safe-money-gen] | otherwise =
480.51 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
480.51 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
480.51 s
[really-safe-money-gen] - if exponent resultDouble > 65
480.51 s
[really-safe-money-gen] + if exponent resultDouble > 1
480.51 s
[really-safe-money-gen] then Nothing
480.51 s
[really-safe-money-gen] else
480.51 s
[really-safe-money-gen] let ceiled :: Natural
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 46.32 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.05 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:332:38-40:
480.51 s
[really-safe-money-gen] @@ -329,7 +329,7 @@
480.51 s
[really-safe-money-gen] | otherwise =
480.51 s
[really-safe-money-gen] -- Shortcut for numbers that are way too big anyway
480.51 s
[really-safe-money-gen] -- so that we don't have to compute the according 'Natural' values.
480.51 s
[really-safe-money-gen] - if exponent resultDouble > 65
480.51 s
[really-safe-money-gen] + if exponent resultDouble > -65
480.51 s
[really-safe-money-gen] then Nothing
480.51 s
[really-safe-money-gen] else
480.51 s
[really-safe-money-gen] let ceiled :: Natural
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fromDouble
480.51 s
[really-safe-money-gen] ✓ produces valid rational 45.93 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.05 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:494:96-97:
480.51 s
[really-safe-money-gen] @@ -491,7 +491,7 @@
480.51 s
[really-safe-money-gen] let maxBoundI :: Integer
480.51 s
[really-safe-money-gen] maxBoundI = fromIntegral (maxBound :: Word64)
480.51 s
[really-safe-money-gen] r :: Integer
480.51 s
[really-safe-money-gen] - r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 0 l
480.51 s
[really-safe-money-gen] + r = foldl' (\acc a -> (toInteger :: Word64 -> Integer) (toMinimalQuantisations a) + acc) 1 l
480.51 s
[really-safe-money-gen] in if r > maxBoundI
480.51 s
[really-safe-money-gen] then Nothing
480.51 s
[really-safe-money-gen] else Just (Amount ((fromInteger :: Integer -> Word64) r))
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AmountOfSpec
480.51 s
[really-safe-money-gen] USD
480.51 s
[really-safe-money-gen] sum
480.51 s
[really-safe-money-gen] ✓ produces valid amounts 1.33 ms
480.51 s
[really-safe-money-gen] passed for all of 100 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 100
480.51 s
[really-safe-money-gen] Passed: 1
480.51 s
[really-safe-money-gen] Failed: 0
480.51 s
[really-safe-money-gen] Sum of test runtimes: 0.00 seconds
480.51 s
[really-safe-money-gen] Test suite took: 0.00 seconds
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/Amount.hs:661:30-31:
480.51 s
[really-safe-money-gen] @@ -658,7 +658,7 @@
480.51 s
[really-safe-money-gen] -- | The amount and the real rate that was used, considering the 'Rounding'
480.51 s
[really-safe-money-gen] (Maybe Amount, Ratio Natural)
480.51 s
[really-safe-money-gen] fraction _ (Amount 0) f = (Just zero, f)
480.51 s
[really-safe-money-gen] -fraction _ _ 0 = (Just zero, 0)
480.51 s
[really-safe-money-gen] +fraction _ _ 0 = (Just zero, 1)
480.51 s
[really-safe-money-gen] fraction r (Amount a) f =
480.51 s
[really-safe-money-gen] let amountAsRatio :: Ratio Natural
480.51 s
[really-safe-money-gen] amountAsRatio = (fromIntegral :: Word64 -> Ratio Natural) a
480.51 s
[really-safe-money-gen] Tests:
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Money.AccountSpec
480.51 s
[really-safe-money-gen] fractionRatio
480.51 s
[really-safe-money-gen] ✓ produces valid amounts 106.69 ms
480.51 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen]
480.51 s
[really-safe-money-gen] Examples: 10000
480.51 s
[really-safe-money-gen] Passed: 1
480.52 s
[really-safe-money-gen] Failed: 0
480.52 s
[really-safe-money-gen] Sum of test runtimes: 0.11 seconds
480.52 s
[really-safe-money-gen] Test suite took: 0.11 seconds
480.52 s
[really-safe-money-gen]
480.52 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:607:15-22:
480.52 s
[really-safe-money-gen] @Testing mutation ConstBool at src/Money/Amount.hs:607:15-22:
480.52 s
[really-safe-money-gen] @@ -604,7 +604,7 @@
480.52 s
[really-safe-money-gen] case ad of
480.52 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.52 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.52 s
[really-safe-money-gen] - a1 > a2
480.52 s
[really-safe-money-gen] + False
480.52 s
[really-safe-money-gen] _ -> valid
480.52 s
[really-safe-money-gen] ]
480.52 s
[really-safe-money-gen]
480.52 s
[really-safe-money-gen]
480.72 s
[really-safe-money-gen] Testing mutation Negate at src/Money/Amount.hs:607:15-22:
480.72 s
[really-safe-money-gen] @@ -604,7 +604,7 @@
480.72 s
[really-safe-money-gen] case ad of
480.72 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.72 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.72 s
[really-safe-money-gen] - a1 > a2
480.72 s
[really-safe-money-gen] + not (a1 > a2)
480.72 s
[really-safe-money-gen] _ -> valid
480.72 s
[really-safe-money-gen] ]
480.72 s
[really-safe-money-gen]
480.72 s
[really-safe-money-gen]
480.81 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/Amount.hs:603:7-8:
480.81 s
[really-safe-money-gen] @@ -600,7 +600,7 @@
480.81 s
[really-safe-money-gen] instance (Validity amount, Ord amount) => Validity (Distribution amount) where
480.81 s
[really-safe-money-gen] validate ad =
480.81 s
[really-safe-money-gen] mconcat
480.82 s
[really-safe-money-gen] - [ genericValidate ad,
480.82 s
[really-safe-money-gen] + [ genericValidate ad,
480.82 s
[really-safe-money-gen] case ad of
480.82 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.82 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.82 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] @ -604,7 +604,7 @@
480.97 s
[really-safe-money-gen] case ad of
480.97 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.97 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.97 s
[really-safe-money-gen] - a1 > a2
480.97 s
[really-safe-money-gen] + True
480.97 s
[really-safe-money-gen] _ -> valid
480.97 s
[really-safe-money-gen] ]
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] Tests:
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] Money.AccountSpec
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 42.89 ms
480.97 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.97 s
[really-safe-money-gen] Money.AccountOfSpec
480.97 s
[really-safe-money-gen] USD
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.40 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] INR
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.35 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] CHF
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.75 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] ADA
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.36 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] BTC
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.46 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] Money.AmountOfSpec
480.97 s
[really-safe-money-gen] USD
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.27 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] ADA
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.30 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] INR
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.41 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] BTC
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.68 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] CHF
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.41 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] Money.AmountSpec
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] GenValid (Distribution Amount)
480.97 s
[really-safe-money-gen] genValid :: Gen (Distribution Amount)
480.97 s
[really-safe-money-gen] ✓ only generates valid '(Distribution Amount)'s 27.21 ms
480.97 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 35.89 ms
480.97 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] Examples: 31000
480.97 s
[really-safe-money-gen] Passed: 13
480.97 s
[really-safe-money-gen] Failed: 0
480.97 s
[really-safe-money-gen] Sum of test runtimes: 0.11 seconds
480.97 s
[really-safe-money-gen] Test suite took: 0.12 seconds
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/Amount.hs:607:15-22:
480.97 s
[really-safe-money-gen] @@ -604,7 +604,7 @@
480.97 s
[really-safe-money-gen] case ad of
480.97 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.97 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.97 s
[really-safe-money-gen] - a1 > a2
480.97 s
[really-safe-money-gen] + False
480.97 s
[really-safe-money-gen] _ -> valid
480.97 s
[really-safe-money-gen] ]
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] Tests:
480.97 s
[really-safe-money-gen]
480.97 s
[really-safe-money-gen] Money.AccountSpec
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 44.16 ms
480.97 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.97 s
[really-safe-money-gen] Money.AccountOfSpec
480.97 s
[really-safe-money-gen] USD
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.33 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] INR
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.32 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] CHF
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.88 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] ADA
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.34 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] BTC
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.30 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] Money.AmountOfSpec
480.97 s
[really-safe-money-gen] USD
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.33 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] ADA
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.26 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] INR
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.27 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] BTC
480.97 s
[really-safe-money-gen] distribute
480.97 s
[really-safe-money-gen] ✓ produces valid amounts 0.92 ms
480.97 s
[really-safe-money-gen] passed for all of 100 inputs.
480.97 s
[really-safe-money-gen] CHF
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.47 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] Money.AmountSpec
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] GenValid (Distribution Amount)
480.98 s
[really-safe-money-gen] genValid :: Gen (Distribution Amount)
480.98 s
[really-safe-money-gen] ✓ only generates valid '(Distribution Amount)'s 30.43 ms
480.98 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 35.75 ms
480.98 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.98 s
[really-safe-money-gen]
480.98 s
[really-safe-money-gen]
480.98 s
[really-safe-money-gen]
480.98 s
[really-safe-money-gen] Examples: 31000
480.98 s
[really-safe-money-gen] Passed: 13
480.98 s
[really-safe-money-gen] Failed: 0
480.98 s
[really-safe-money-gen] Sum of test runtimes: 0.11 seconds
480.98 s
[really-safe-money-gen] Test suite took: 0.12 seconds
480.98 s
[really-safe-money-gen]
480.98 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/Amount.hs:603:7-8:
480.98 s
[really-safe-money-gen] @@ -600,7 +600,7 @@
480.98 s
[really-safe-money-gen] instance (Validity amount, Ord amount) => Validity (Distribution amount) where
480.98 s
[really-safe-money-gen] validate ad =
480.98 s
[really-safe-money-gen] mconcat
480.98 s
[really-safe-money-gen] - [ genericValidate ad,
480.98 s
[really-safe-money-gen] + [ genericValidate ad,
480.98 s
[really-safe-money-gen] case ad of
480.98 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.98 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.98 s
[really-safe-money-gen] Tests:
480.98 s
[really-safe-money-gen]
480.98 s
[really-safe-money-gen] Money.AccountSpec
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 19.56 ms
480.98 s
[really-safe-money-gen] passed for all of 10000 inputs.
480.98 s
[really-safe-money-gen] Money.AccountOfSpec
480.98 s
[really-safe-money-gen] USD
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.12 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] INR
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.17 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] CHF
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.19 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] ADA
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.14 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] BTC
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.57 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] Money.AmountOfSpec
480.98 s
[really-safe-money-gen] USD
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts 0.16 ms
480.98 s
[really-safe-money-gen] passed for all of 100 inputs.
480.98 s
[really-safe-money-gen] ADA
480.98 s
[really-safe-money-gen] distribute
480.98 s
[really-safe-money-gen] ✓ produces valid amounts Testing mutation ListLit at src/Money/Amount.hs:603:7-8:
480.98 s
[really-safe-money-gen] @@ -600,7 +600,7 @@
480.98 s
[really-safe-money-gen] instance (Validity amount, Ord amount) => Validity (Distribution amount) where
480.98 s
[really-safe-money-gen] validate ad =
480.98 s
[really-safe-money-gen] mconcat
480.98 s
[really-safe-money-gen] - [ genericValidate ad,
480.98 s
[really-safe-money-gen] + [ genericValidate ad,
480.98 s
[really-safe-money-gen] case ad of
480.98 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
480.98 s
[really-safe-money-gen] declare "The larger chunks are larger" $
480.98 s
[really-safe-money-gen]
481.12 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:87:27-28:
481.12 s
[really-safe-money-gen] @@ -84,7 +84,7 @@
481.12 s
[really-safe-money-gen] fromDecimalLiteral dl = do
481.12 s
[really-safe-money-gen] irat <-
481.12 s
[really-safe-money-gen] let r = DecimalLiteral.toRational dl
481.12 s
[really-safe-money-gen] - in if numerator r == 0
481.12 s
[really-safe-money-gen] + in if numerator r == 1
481.12 s
[really-safe-money-gen] then Nothing
481.12 s
[really-safe-money-gen] else pure r
481.12 s
[really-safe-money-gen]
481.12 s
[really-safe-money-gen]
481.27 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:87:12-28:
481.27 s
[really-safe-money-gen] @@ -84,7 +84,7 @@
481.37 s
[really-safe-money-gen] fromDecimalLiteral dl = do
481.37 s
[really-safe-money-gen] irat <-
481.37 s
[really-safe-money-gen] let r = DecimalLiteral.toRational dl
481.37 s
[really-safe-money-gen] - in if numerator r == 0
481.37 s
[really-safe-money-gen] + in if True
481.37 s
[really-safe-money-gen] then Nothing
481.37 s
[really-safe-money-gen] else pure r
481.37 s
[really-safe-money-gen]
481.37 s
[really-safe-money-gen]
481.61 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:87:12-28:
481.61 s
[really-safe-money-gen] @@ -84,7 +84,7 @@
481.61 s
[really-safe-money-gen] fromDecimalLiteral dl = do
481.61 s
[really-safe-money-gen] irat <-
481.61 s
[really-safe-money-gen] let r = DecimalLiteral.toRational dl
481.61 s
[really-safe-money-gen] - in if numerator r == 0
481.61 s
[really-safe-money-gen] + in if False
481.61 s
[really-safe-money-gen] then Nothing
481.61 s
[really-safe-money-gen] else pure r
481.61 s
[really-safe-money-gen]
481.61 s
[really-safe-money-gen]
481.97 s
[really-safe-money-gen] Testing mutation Negate at src/Money/QuantisationFactor.hs:87:12-28:
481.97 s
[really-safe-money-gen] @@ -84,7 +84,7 @@
481.97 s
[really-safe-money-gen] fromDecimalLiteral dl = do
481.97 s
[really-safe-money-gen] irat <-
481.97 s
[really-safe-money-gen] let r = DecimalLiteral.toRational dl
481.97 s
[really-safe-money-gen] - in if numerator r == 0
481.97 s
[really-safe-money-gen] + in if not (numerator r == 0)
481.97 s
[really-safe-money-gen] then Nothing
481.97 s
[really-safe-money-gen] else pure r
481.97 s
[really-safe-money-gen]
481.97 s
[really-safe-money-gen]
482.11 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/QuantisationFactor.hs:87:9-22:
482.11 s
[really-safe-money-gen] @@ -84,7 +84,7 @@
482.11 s
[really-safe-money-gen] fromDecimalLiteral dl = do
482.11 s
[really-safe-money-gen] irat <-
482.11 s
[really-safe-money-gen] let r = DecimalLiteral.toRational dl
482.11 s
[really-safe-money-gen] - in if numerator r == 0
482.11 s
[really-safe-money-gen] + in if numerator r == 0
482.11 s
[really-safe-money-gen] then Nothing
482.11 s
[really-safe-money-gen] else pure r
482.11 s
[really-safe-money-gen]
482.11 s
[really-safe-money-gen]
482.25 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:92:13-14:
482.25 s
[really-safe-money-gen] @@ -89,7 +89,7 @@
482.25 s
[really-safe-money-gen] else pure r
482.25 s
[really-safe-money-gen]
482.25 s
[really-safe-money-gen] rat <-
482.25 s
[really-safe-money-gen] - let r = 1 / irat
482.25 s
[really-safe-money-gen] + let r = 0 / irat
482.25 s
[really-safe-money-gen] in if r < 0
482.25 s
[really-safe-money-gen] then Nothing
482.25 s
[really-safe-money-gen] else Just r
482.25 s
[really-safe-money-gen]
482.34 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:92:13-14:
482.34 s
[really-safe-money-gen] @@ -89,7 +89,7 @@
482.34 s
[really-safe-money-gen] else pure r
482.34 s
[really-safe-money-gen]
482.34 s
[really-safe-money-gen] rat <-
482.34 s
[really-safe-money-gen] - let r = 1 / irat
482.34 s
[really-safe-money-gen] + let r = -1 / irat
482.34 s
[really-safe-money-gen] in if r < 0
482.34 s
[really-safe-money-gen] then Nothing
482.34 s
[really-safe-money-gen] else Just r
482.34 s
[really-safe-money-gen]
482.43 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:93:16-17:
482.43 s
[really-safe-money-gen] @@ -90,7 +90,7 @@
482.43 s
[really-safe-money-gen]
482.43 s
[really-safe-money-gen] rat <-
482.43 s
[really-safe-money-gen] let r = 1 / irat
482.43 s
[really-safe-money-gen] - in if r < 0
482.43 s
[really-safe-money-gen] + in if r < 1
482.43 s
[really-safe-money-gen] then Nothing
482.43 s
[really-safe-money-gen] else Just r
482.43 s
[really-safe-money-gen]
482.43 s
[really-safe-money-gen]
482.57 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:93:12-17:
482.57 s
[really-safe-money-gen] @@ -90,7 +90,7 @@
482.57 s
[really-safe-money-gen]
482.57 s
[really-safe-money-gen] rat <-
482.57 s
[really-safe-money-gen] let r = 1 / irat
482.57 s
[really-safe-money-gen] - in if r < 0
482.57 s
[really-safe-money-gen] + in if True
482.57 s
[really-safe-money-gen] then Nothing
482.57 s
[really-safe-money-gen] else Just r
482.57 s
[really-safe-money-gen]
482.57 s
[really-safe-money-gen]
482.98 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:93:12-17:
482.98 s
[really-safe-money-gen] @@ -90,7 +90,7 @@
482.98 s
[really-safe-money-gen]
482.98 s
[really-safe-money-gen] rat <-
482.98 s
[really-safe-money-gen] let r = 1 / irat
482.98 s
[really-safe-money-gen] - in if r < 0
482.98 s
[really-safe-money-gen] + in if False
482.98 s
[really-safe-money-gen] then Nothing
482.98 s
[really-safe-money-gen] else Just r
482.98 s
[really-safe-money-gen]
482.98 s
[really-safe-money-gen]
483.39 s
[really-safe-money-gen] Testing mutation Negate at src/Money/QuantisationFactor.hs:93:12-17:
483.39 s
[really-safe-money-gen] @@ -90,7 +90,7 @@
483.39 s
[really-safe-money-gen]
483.39 s
[really-safe-money-gen] rat <-
483.39 s
[really-safe-money-gen] let r = 1 / irat
483.39 s
[really-safe-money-gen] - in if r < 0
483.39 s
[really-safe-money-gen] + in if not (r < 0)
483.39 s
[really-safe-money-gen] then Nothing
483.39 s
[really-safe-money-gen] else Just r
483.39 s
[really-safe-money-gen]
483.39 s
[really-safe-money-gen]
483.54 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/QuantisationFactor.hs:93:9-22:
483.54 s
[really-safe-money-gen] @@ -90,7 +90,7 @@
483.54 s
[really-safe-money-gen]
483.54 s
[really-safe-money-gen] rat <-
483.54 s
[really-safe-money-gen] let r = 1 / irat
483.54 s
[really-safe-money-gen] - in if r < 0
483.54 s
[really-safe-money-gen] + in if r < 0
483.54 s
[really-safe-money-gen] then Nothing
483.54 s
[really-safe-money-gen] else Just r
483.54 s
[really-safe-money-gen]
483.54 s
[really-safe-money-gen]
483.69 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:98:27-28:
483.69 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
483.69 s
[really-safe-money-gen] else Just r
483.69 s
[really-safe-money-gen]
483.69 s
[really-safe-money-gen] fac <-
483.69 s
[really-safe-money-gen] - if denominator rat == 1
483.69 s
[really-safe-money-gen] + if denominator rat == 0
483.69 s
[really-safe-money-gen] then Just (numerator rat)
483.69 s
[really-safe-money-gen] else Nothing
483.69 s
[really-safe-money-gen]
483.69 s
[really-safe-money-gen]
483.84 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:98:27-28:
483.84 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
483.84 s
[really-safe-money-gen] else Just r
483.84 s
[really-safe-money-gen]
483.84 s
[really-safe-money-gen] fac <-
483.84 s
[really-safe-money-gen] - if denominator rat == 1
483.84 s
[really-safe-money-gen] + if denominator rat == -1
483.84 s
[really-safe-money-gen] then Just (numerator rat)
483.84 s
[really-safe-money-gen] else Nothing
483.84 s
[really-safe-money-gen]
483.84 s
[really-safe-money-gen]
483.99 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:98:8-28:
483.99 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
483.99 s
[really-safe-money-gen] else Just r
483.99 s
[really-safe-money-gen]
483.99 s
[really-safe-money-gen] fac <-
483.99 s
[really-safe-money-gen] - if denominator rat == 1
483.99 s
[really-safe-money-gen] + if True
483.99 s
[really-safe-money-gen] then Just (numerator rat)
483.99 s
[really-safe-money-gen] else Nothing
483.99 s
[really-safe-money-gen]
483.99 s
[really-safe-money-gen]
484.09 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:98:8-28:
484.09 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
484.09 s
[really-safe-money-gen] else Just r
484.09 s
[really-safe-money-gen]
484.09 s
[really-safe-money-gen] fac <-
484.09 s
[really-safe-money-gen] - if denominator rat == 1
484.09 s
[really-safe-money-gen] + if False
484.09 s
[really-safe-money-gen] then Just (numerator rat)
484.09 s
[really-safe-money-gen] else Nothing
484.09 s
[really-safe-money-gen]
484.09 s
[really-safe-money-gen]
484.18 s
[really-safe-money-gen] Testing mutation Negate at src/Money/QuantisationFactor.hs:98:8-28:
484.18 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
484.18 s
[really-safe-money-gen] else Just r
484.18 s
[really-safe-money-gen]
484.18 s
[really-safe-money-gen] fac <-
484.18 s
[really-safe-money-gen] - if denominator rat == 1
484.18 s
[really-safe-money-gen] + if not (denominator rat == 1)
484.18 s
[really-safe-money-gen] then Just (numerator rat)
484.18 s
[really-safe-money-gen] else Nothing
484.18 s
[really-safe-money-gen]
484.18 s
[really-safe-money-gen]
484.28 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/QuantisationFactor.hs:98:5-19:
484.28 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
484.28 s
[really-safe-money-gen] else Just r
484.28 s
[really-safe-money-gen]
484.28 s
[really-safe-money-gen] fac <-
484.28 s
[really-safe-money-gen] - if denominator rat == 1
484.28 s
[really-safe-money-gen] + if denominator rat == 1
484.28 s
[really-safe-money-gen] then Just (numerator rat)
484.28 s
[really-safe-money-gen] else Nothing
484.28 s
[really-safe-money-gen]
484.28 s
[really-safe-money-gen]
484.38 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:102:6-46:
484.38 s
[really-safe-money-gen] @@ -99,6 +99,6 @@
484.38 s
[really-safe-money-gen] then Just (numerator rat)
484.38 s
[really-safe-money-gen] else Nothing
484.38 s
[really-safe-money-gen]
484.38 s
[really-safe-money-gen] - if fac <= fromIntegral (maxBound :: Word32)
484.38 s
[really-safe-money-gen] + if True
484.38 s
[really-safe-money-gen] then Just (QuantisationFactor (fromIntegral fac))
484.38 s
[really-safe-money-gen] else Nothing
484.38 s
[really-safe-money-gen]
484.48 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:102:6-46:
484.48 s
[really-safe-money-gen] @@ -99,6 +99,6 @@
484.48 s
[really-safe-money-gen] then Just (numerator rat)
484.48 s
[really-safe-money-gen] else Nothing
484.48 s
[really-safe-money-gen]
484.48 s
[really-safe-money-gen] - if fac <= fromIntegral (maxBound :: Word32)
484.48 s
[really-safe-money-gen] + if False
484.48 s
[really-safe-money-gen] then Just (QuantisationFactor (fromIntegral fac))
484.48 s
[really-safe-money-gen] else Nothing
484.48 s
[really-safe-money-gen]
484.58 s
[really-safe-money-gen] Testing mutation Negate at src/Money/QuantisationFactor.hs:102:6-46:
484.58 s
[really-safe-money-gen] @@ -99,6 +99,6 @@
484.58 s
[really-safe-money-gen] then Just (numerator rat)
484.58 s
[really-safe-money-gen] else Nothing
484.58 s
[really-safe-money-gen]
484.58 s
[really-safe-money-gen] - if fac <= fromIntegral (maxBound :: Word32)
484.58 s
[really-safe-money-gen] + if not (fac <= fromIntegral (maxBound :: Word32))
484.58 s
[really-safe-money-gen] then Just (QuantisationFactor (fromIntegral fac))
484.59 s
[really-safe-money-gen] else Nothing
484.59 s
[really-safe-money-gen]
484.68 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:67:67-68:
484.68 s
[really-safe-money-gen] @@ -64,7 +64,7 @@
484.68 s
[really-safe-money-gen] -- Just (DecimalLiteral Nothing 1 0)
484.68 s
[really-safe-money-gen] toDecimalLiteral :: QuantisationFactor -> Maybe DecimalLiteral
484.69 s
[really-safe-money-gen] toDecimalLiteral (QuantisationFactor qfw) =
484.69 s
[really-safe-money-gen] - DecimalLiteral.setSignOptional <$> DecimalLiteral.fromRational (1 % fromIntegral qfw)
484.69 s
[really-safe-money-gen] + DecimalLiteral.setSignOptional <$> DecimalLiteral.fromRational (0 % fromIntegral qfw)
484.69 s
[really-safe-money-gen]
484.69 s
[really-safe-money-gen] -- | Parse a 'QuantisationFactor' from a 'DecimalLiteral' that represents the smallest unit
484.69 s
[really-safe-money-gen] -- TODO explain that it's the inverse.
484.69 s
[really-safe-money-gen]
484.77 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:67:67-68:
484.77 s
[really-safe-money-gen] @@ -64,7 +64,7 @@
484.77 s
[really-safe-money-gen] -- Just (DecimalLiteral Nothing 1 0)
484.77 s
[really-safe-money-gen] toDecimalLiteral :: QuantisationFactor -> Maybe DecimalLiteral
484.77 s
[really-safe-money-gen] toDecimalLiteral (QuantisationFactor qfw) =
484.77 s
[really-safe-money-gen] - DecimalLiteral.setSignOptional <$> DecimalLiteral.fromRational (1 % fromIntegral qfw)
484.77 s
[really-safe-money-gen] + DecimalLiteral.setSignOptional <$> DecimalLiteral.fromRational (-1 % fromIntegral qfw)
484.77 s
[really-safe-money-gen]
484.77 s
[really-safe-money-gen] -- | Parse a 'QuantisationFactor' from a 'DecimalLiteral' that represents the smallest unit
484.77 s
[really-safe-money-gen] -- TODO explain that it's the inverse.
484.77 s
[really-safe-money-gen]
484.87 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:40:62-63:
484.87 s
[really-safe-money-gen] @@ -37,7 +37,7 @@
484.87 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
484.87 s
[really-safe-money-gen] mconcat
484.87 s
[really-safe-money-gen] [ genericValidate qf,
484.87 s
[really-safe-money-gen] - declare "The quantisation factor is not zero" $ w /= 0
484.87 s
[really-safe-money-gen] + declare "The quantisation factor is not zero" $ w /= 1
484.87 s
[really-safe-money-gen] ]
484.87 s
[really-safe-money-gen]
484.87 s
[really-safe-money-gen] instance NFData QuantisationFactor
484.87 s
[really-safe-money-gen]
484.96 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:40:57-63:
484.96 s
[really-safe-money-gen] @@ -37,7 +37,7 @@
484.96 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
484.96 s
[really-safe-money-gen] mconcat
484.96 s
[really-safe-money-gen] [ genericValidate qf,
484.96 s
[really-safe-money-gen] - declare "The quantisation factor is not zero" $ w /= 0
484.96 s
[really-safe-money-gen] + declare "The quantisation factor is not zero" $ True
484.96 s
[really-safe-money-gen] ]
484.96 s
[really-safe-money-gen]
484.96 s
[really-safe-money-gen] instance NFData QuantisationFactor
484.96 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] 0.11 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] INR
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.11 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] BTC
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.11 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] CHF
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.12 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] Money.AmountSpec
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] GenValid (Distribution Amount)
486.03 s
[really-safe-money-gen] genValid :: Gen (Distribution Amount)
486.03 s
[really-safe-money-gen] ✓ only generates valid '(Distribution Amount)'s 18.96 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 18.80 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Examples: 31000
486.03 s
[really-safe-money-gen] Passed: 13
486.03 s
[really-safe-money-gen] Failed: 0
486.03 s
[really-safe-money-gen] Sum of test runtimes: 0.06 seconds
486.03 s
[really-safe-money-gen] Test suite took: 0.06 seconds
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/Amount.hs:603:7-8:
486.03 s
[really-safe-money-gen] @@ -600,7 +600,7 @@
486.03 s
[really-safe-money-gen] instance (Validity amount, Ord amount) => Validity (Distribution amount) where
486.03 s
[really-safe-money-gen] validate ad =
486.03 s
[really-safe-money-gen] mconcat
486.03 s
[really-safe-money-gen] - [ genericValidate ad,
486.03 s
[really-safe-money-gen] + [ genericValidate ad,
486.03 s
[really-safe-money-gen] case ad of
486.03 s
[really-safe-money-gen] DistributedIntoUnequalChunks _ a1 _ a2 ->
486.03 s
[really-safe-money-gen] declare "The larger chunks are larger" $
486.03 s
[really-safe-money-gen] Tests:
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Money.AccountSpec
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 18.56 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen] Money.AccountOfSpec
486.03 s
[really-safe-money-gen] USD
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.22 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] INR
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.20 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] CHF
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.19 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] ADA
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.19 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] BTC
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.51 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] Money.AmountOfSpec
486.03 s
[really-safe-money-gen] USD
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.20 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] ADA
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.14 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] INR
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.16 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] BTC
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.22 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] CHF
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 0.18 ms
486.03 s
[really-safe-money-gen] passed for all of 100 inputs.
486.03 s
[really-safe-money-gen] Money.AmountSpec
486.03 s
[really-safe-money-gen] distribute
486.03 s
[really-safe-money-gen] GenValid (Distribution Amount)
486.03 s
[really-safe-money-gen] genValid :: Gen (Distribution Amount)
486.03 s
[really-safe-money-gen] ✓ only generates valid '(Distribution Amount)'s 18.70 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen] ✓ produces valid amounts 18.81 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Examples: 31000
486.03 s
[really-safe-money-gen] Passed: 13
486.03 s
[really-safe-money-gen] Failed: 0
486.03 s
[really-safe-money-gen] Sum of test runtimes: 0.06 seconds
486.03 s
[really-safe-money-gen] Test suite took: 0.06 seconds
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:87:27-28:
486.03 s
[really-safe-money-gen] @@ -84,7 +84,7 @@
486.03 s
[really-safe-money-gen] fromDecimalLiteral dl = do
486.03 s
[really-safe-money-gen] irat <-
486.03 s
[really-safe-money-gen] let r = DecimalLiteral.toRational dl
486.03 s
[really-safe-money-gen] - in if numerator r == 0
486.03 s
[really-safe-money-gen] + in if numerator r == 1
486.03 s
[really-safe-money-gen] then Nothing
486.03 s
[really-safe-money-gen] else pure r
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Tests:
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Money.QuantisationFactorSpec
486.03 s
[really-safe-money-gen] DecimalLiteral
486.03 s
[really-safe-money-gen] fromDecimalLiteral
486.03 s
[really-safe-money-gen] ✓ fails to render a non-1 integer 60.55 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Examples: 10000
486.03 s
[really-safe-money-gen] Passed: 1
486.03 s
[really-safe-money-gen] Failed: 0
486.03 s
[really-safe-money-gen] Sum of test runtimes: 0.06 seconds
486.03 s
[really-safe-money-gen] Test suite took: 0.06 seconds
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:93:16-17:
486.03 s
[really-safe-money-gen] @@ -90,7 +90,7 @@
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] rat <-
486.03 s
[really-safe-money-gen] let r = 1 / irat
486.03 s
[really-safe-money-gen] - in if r < 0
486.03 s
[really-safe-money-gen] + in if r < 1
486.03 s
[really-safe-money-gen] then Nothing
486.03 s
[really-safe-money-gen] else Just r
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Tests:
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Money.QuantisationFactorSpec
486.03 s
[really-safe-money-gen] DecimalLiteral
486.03 s
[really-safe-money-gen] fromDecimalLiteral
486.03 s
[really-safe-money-gen] ✓ fails to render a non-1 integer 51.07 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Examples: 10000
486.03 s
[really-safe-money-gen] Passed: 1
486.03 s
[really-safe-money-gen] Failed: 0
486.03 s
[really-safe-money-gen] Sum of test runtimes: 0.05 seconds
486.03 s
[really-safe-money-gen] Test suite took: 0.05 seconds
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:98:27-28:
486.03 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
486.03 s
[really-safe-money-gen] else Just r
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] fac <-
486.03 s
[really-safe-money-gen] - if denominator rat == 1
486.03 s
[really-safe-money-gen] + if denominator rat == 0
486.03 s
[really-safe-money-gen] then Just (numerator rat)
486.03 s
[really-safe-money-gen] else Nothing
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Tests:
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Money.QuantisationFactorSpec
486.03 s
[really-safe-money-gen] DecimalLiteral
486.03 s
[really-safe-money-gen] fromDecimalLiteral
486.03 s
[really-safe-money-gen] ✓ fails to render a non-1 integer 60.98 ms
486.03 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen]
486.03 s
[really-safe-money-gen] Examples: 10000
486.04 s
[really-safe-money-gen] Passed: 1
486.04 s
[really-safe-money-gen] Failed: 0
486.04 s
[really-safe-money-gen] Sum of test runtimes: 0.06 seconds
486.04 s
[really-safe-money-gen] Test suite took: 0.06 seconds
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] Testing mutation IntLit at src/Money/QuantisationFactor.hs:98:27-28:
486.04 s
[really-safe-money-gen] @@ -95,7 +95,7 @@
486.04 s
[really-safe-money-gen] else Just r
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] fac <-
486.04 s
[really-safe-money-gen] - if denominator rat == 1
486.04 s
[really-safe-money-gen] + if denominator rat == -1
486.04 s
[really-safe-money-gen] then Just (numerator rat)
486.04 s
[really-safe-money-gen] else Nothing
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] Tests:
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] Money.QuantisationFactorSpec
486.04 s
[really-safe-money-gen] DecimalLiteral
486.04 s
[really-safe-money-gen] fromDecimalLiteral
486.04 s
[really-safe-money-gen] ✓ fails to render a non-1 integer 59.23 ms
486.04 s
[really-safe-money-gen] passed for all of 10000 inputs.
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] Examples: 10000
486.04 s
[really-safe-money-gen] Passed: 1
486.04 s
[really-safe-money-gen] Failed: 0
486.04 s
[really-safe-money-gen] Sum of test runtimes: 0.06 seconds
486.04 s
[really-safe-money-gen] Test suite took: 0.06 seconds
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:40:57-63:
486.04 s
[really-safe-money-gen] @@ -37,7 +37,7 @@
486.04 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
486.04 s
[really-safe-money-gen] mconcat
486.04 s
[really-safe-money-gen] [ genericValidate qf,
486.04 s
[really-safe-money-gen] - declare "The quantisation factor is not zero" $ w /= 0
486.04 s
[really-safe-money-gen] + declare "The quantisation factor is not zero" $ True
486.04 s
[really-safe-money-gen] ]
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] instance NFData QuantisationFactor
486.04 s
[really-safe-money-gen] Tests:
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] Money.MultiAmountSpec
486.04 s
[really-safe-money-gen] fromAmount
486.04 s
[really-safe-money-gen] ✓ produces valid amounts 6.62 ms
486.04 s
[really-safe-money-gen] passed for all of 1000 inputs.
486.04 s
[really-safe-money-gen] sum
486.04 s
[really-safe-money-gen] ✓ Testing mutation ConstBool at src/Money/QuantisationFactor.hs:40:57-63:
486.04 s
[really-safe-money-gen] @@ -37,7 +37,7 @@
486.04 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
486.04 s
[really-safe-money-gen] mconcat
486.04 s
[really-safe-money-gen] [ genericValidate qf,
486.04 s
[really-safe-money-gen] - declare "The quantisation factor is not zero" $ w /= 0
486.04 s
[really-safe-money-gen] + declare "The quantisation factor is not zero" $ False
486.04 s
[really-safe-money-gen] ]
486.04 s
[really-safe-money-gen]
486.04 s
[really-safe-money-gen] instance NFData QuantisationFactor
486.04 s
[really-safe-money-gen]
487.13 s
[really-safe-money-gen] Testing mutation Negate at src/Money/QuantisationFactor.hs:40:57-63:
487.23 s
[really-safe-money-gen] @@ -37,7 +37,7 @@
487.23 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
487.23 s
[really-safe-money-gen] mconcat
487.23 s
[really-safe-money-gen] [ genericValidate qf,
487.23 s
[really-safe-money-gen] - declare "The quantisation factor is not zero" $ w /= 0
487.23 s
[really-safe-money-gen] + declare "The quantisation factor is not zero" $ not (w /= 0)
487.23 s
[really-safe-money-gen] ]
487.23 s
[really-safe-money-gen]
487.23 s
[really-safe-money-gen] instance NFData QuantisationFactor
487.23 s
[really-safe-money-gen]
487.23 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/QuantisationFactor.hs:39:7-8:
487.23 s
[really-safe-money-gen] @@ -36,7 +36,7 @@
487.23 s
[really-safe-money-gen] instance Validity QuantisationFactor where
487.23 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
487.23 s
[really-safe-money-gen] mconcat
487.23 s
[really-safe-money-gen] - [ genericValidate qf,
487.23 s
[really-safe-money-gen] + [ genericValidate qf,
487.23 s
[really-safe-money-gen] declare "The quantisation factor is not zero" $ w /= 0
487.23 s
[really-safe-money-gen] ]
487.23 s
[really-safe-money-gen]
487.23 s
[really-safe-money-gen]
488.16 s
[really-safe-money-gen] produces valid amounts 102.48 ms
488.16 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.16 s
[really-safe-money-gen] add
488.16 s
[really-safe-money-gen] ✓ produces valid amounts 70.57 ms
488.16 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.16 s
[really-safe-money-gen] addAmount
488.16 s
[really-safe-money-gen] ✓ produces valid amounts 41.61 ms
488.16 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.16 s
[really-safe-money-gen] subtractAmount
488.16 s
[really-safe-money-gen] ✓ produces valid amounts 14.83 ms
488.16 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.16 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
488.16 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
488.16 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 64.30 ms
488.16 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.16 s
[really-safe-money-gen] subtract
488.16 s
[really-safe-money-gen] ✓ produces valid amounts 22.80 ms
488.16 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.16 s
[really-safe-money-gen] Money.QuantisationFactorSpec
488.16 s
[really-safe-money-gen] fromWord32
488.16 s
[really-safe-money-gen] ✓ produces valid quantisation factors 28.46 ms
488.16 s
[really-safe-money-gen] passed for all of 10000 inputs.
488.16 s
[really-safe-money-gen] DecimalLiteral
488.16 s
[really-safe-money-gen] fromDecimalLiteral
488.16 s
[really-safe-money-gen] ✓ produces valid factors 83.17 ms
488.17 s
[really-safe-money-gen] passed for all of 10000 inputs.
488.17 s
[really-safe-money-gen] GenValid QuantisationFactor
488.17 s
[really-safe-money-gen] genValid :: Gen QuantisationFactor
488.17 s
[really-safe-money-gen] ✓ only generates valid 'QuantisationFactor's 29.54 ms
488.17 s
[really-safe-money-gen] passed for all of 10000 inputs.
488.17 s
[really-safe-money-gen] Money.MultiAccountSpec
488.17 s
[really-safe-money-gen] subtractAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 41.66 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] add
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 72.49 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] GenValid (MultiAccount Currency)
488.17 s
[really-safe-money-gen] genValid :: Gen (MultiAccount Currency)
488.17 s
[really-safe-money-gen] ✓ only generates valid '(MultiAccount Currency)'s 62.53 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] sum
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 105.73 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] fromAccount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 7.37 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] addAccount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 42.43 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] subtract
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 79.40 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] addAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 46.02 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] subtractAccount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 47.30 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen] Examples: 46000
488.17 s
[really-safe-money-gen] Passed: 19
488.17 s
[really-safe-money-gen] Failed: 0
488.17 s
[really-safe-money-gen] Sum of test runtimes: 0.97 seconds
488.17 s
[really-safe-money-gen] Test suite took: 0.97 seconds
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/QuantisationFactor.hs:40:57-63:
488.17 s
[really-safe-money-gen] @@ -37,7 +37,7 @@
488.17 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
488.17 s
[really-safe-money-gen] mconcat
488.17 s
[really-safe-money-gen] [ genericValidate qf,
488.17 s
[really-safe-money-gen] - declare "The quantisation factor is not zero" $ w /= 0
488.17 s
[really-safe-money-gen] + declare "The quantisation factor is not zero" $ False
488.17 s
[really-safe-money-gen] ]
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen] instance NFData QuantisationFactor
488.17 s
[really-safe-money-gen] Tests:
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen] Money.MultiAmountSpec
488.17 s
[really-safe-money-gen] fromAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 7.62 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] sum
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 120.48 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] add
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 81.36 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] addAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 41.75 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] subtractAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 13.97 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
488.17 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
488.17 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 61.63 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] subtract
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 22.05 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] Money.QuantisationFactorSpec
488.17 s
[really-safe-money-gen] fromWord32
488.17 s
[really-safe-money-gen] ✓ produces valid quantisation factors 26.55 ms
488.17 s
[really-safe-money-gen] passed for all of 10000 inputs.
488.17 s
[really-safe-money-gen] DecimalLiteral
488.17 s
[really-safe-money-gen] fromDecimalLiteral
488.17 s
[really-safe-money-gen] ✓ produces valid factors 84.42 ms
488.17 s
[really-safe-money-gen] passed for all of 10000 inputs.
488.17 s
[really-safe-money-gen] GenValid QuantisationFactor
488.17 s
[really-safe-money-gen] genValid :: Gen QuantisationFactor
488.17 s
[really-safe-money-gen] ✓ only generates valid 'QuantisationFactor's 30.70 ms
488.17 s
[really-safe-money-gen] passed for all of 10000 inputs.
488.17 s
[really-safe-money-gen] Money.MultiAccountSpec
488.17 s
[really-safe-money-gen] subtractAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 44.00 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] add
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 73.92 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] GenValid (MultiAccount Currency)
488.17 s
[really-safe-money-gen] genValid :: Gen (MultiAccount Currency)
488.17 s
[really-safe-money-gen] ✓ only generates valid '(MultiAccount Currency)'s 67.71 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] sum
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 110.80 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] fromAccount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 7.71 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] addAccount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 39.30 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] subtract
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 73.20 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] addAmount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 44.82 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen] subtractAccount
488.17 s
[really-safe-money-gen] ✓ produces valid amounts 44.79 ms
488.17 s
[really-safe-money-gen] passed for all of 1000 inputs.
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen] Examples: 46000
488.17 s
[really-safe-money-gen] Passed: 19
488.17 s
[really-safe-money-gen] Failed: 0
488.17 s
[really-safe-money-gen] Sum of test runtimes: 1.00 seconds
488.17 s
[really-safe-money-gen] Test suite took: 1.00 seconds
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/QuantisationFactor.hs:39:7-8:
488.17 s
[really-safe-money-gen] @@ -36,7 +36,7 @@
488.17 s
[really-safe-money-gen] instance Validity QuantisationFactor where
488.17 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
488.17 s
[really-safe-money-gen] mconcat
488.17 s
[really-safe-money-gen] - [ genericValidate qf,
488.17 s
[really-safe-money-gen] + [ generTesting mutation ListLit at src/Money/QuantisationFactor.hs:39:7-8:
488.17 s
[really-safe-money-gen] @@ -36,7 +36,7 @@
488.17 s
[really-safe-money-gen] instance Validity QuantisationFactor where
488.17 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
488.17 s
[really-safe-money-gen] mconcat
488.17 s
[really-safe-money-gen] - [ genericValidate qf,
488.17 s
[really-safe-money-gen] + [ genericValidate qf,
488.17 s
[really-safe-money-gen] declare "The quantisation factor is not zero" $ w /= 0
488.17 s
[really-safe-money-gen] ]
488.17 s
[really-safe-money-gen]
488.17 s
[really-safe-money-gen]
489.09 s
[really-safe-money-gen] icValidate qf,
489.09 s
[really-safe-money-gen] declare "The quantisation factor is not zero" $ w /= 0
489.09 s
[really-safe-money-gen] ]
489.09 s
[really-safe-money-gen]
489.09 s
[really-safe-money-gen] Tests:
489.09 s
[really-safe-money-gen]
489.09 s
[really-safe-money-gen] Money.MultiAmountSpec
489.09 s
[really-safe-money-gen] fromAmount
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 7.13 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] sum
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 95.92 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] add
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 62.24 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] addAmount
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 37.42 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] subtractAmount
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 15.32 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
489.09 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
489.09 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 63.41 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] subtract
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 24.05 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] Money.QuantisationFactorSpec
489.09 s
[really-safe-money-gen] fromWord32
489.09 s
[really-safe-money-gen] ✓ produces valid quantisation factors 19.61 ms
489.09 s
[really-safe-money-gen] passed for all of 10000 inputs.
489.09 s
[really-safe-money-gen] DecimalLiteral
489.09 s
[really-safe-money-gen] fromDecimalLiteral
489.09 s
[really-safe-money-gen] ✓ produces valid factors 74.77 ms
489.09 s
[really-safe-money-gen] passed for all of 10000 inputs.
489.09 s
[really-safe-money-gen] GenValid QuantisationFactor
489.09 s
[really-safe-money-gen] genValid :: Gen QuantisationFactor
489.09 s
[really-safe-money-gen] ✓ only generates valid 'QuantisationFactor's 18.84 ms
489.09 s
[really-safe-money-gen] passed for all of 10000 inputs.
489.09 s
[really-safe-money-gen] Money.MultiAccountSpec
489.09 s
[really-safe-money-gen] subtractAmount
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 39.00 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] add
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 74.57 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] GenValid (MultiAccount Currency)
489.09 s
[really-safe-money-gen] genValid :: Gen (MultiAccount Currency)
489.09 s
[really-safe-money-gen] ✓ only generates valid '(MultiAccount Currency)'s 59.54 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] sum
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 82.72 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] fromAccount
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 5.83 ms
489.09 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.09 s
[really-safe-money-gen] addAccount
489.09 s
[really-safe-money-gen] ✓ produces valid amounts 34.93 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] subtract
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 59.72 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] addAmount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 35.82 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] subtractAccount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 36.21 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen] Examples: 46000
489.10 s
[really-safe-money-gen] Passed: 19
489.10 s
[really-safe-money-gen] Failed: 0
489.10 s
[really-safe-money-gen] Sum of test runtimes: 0.85 seconds
489.10 s
[really-safe-money-gen] Test suite took: 0.85 seconds
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/QuantisationFactor.hs:39:7-8:
489.10 s
[really-safe-money-gen] @@ -36,7 +36,7 @@
489.10 s
[really-safe-money-gen] instance Validity QuantisationFactor where
489.10 s
[really-safe-money-gen] validate qf@(QuantisationFactor w) =
489.10 s
[really-safe-money-gen] mconcat
489.10 s
[really-safe-money-gen] - [ genericValidate qf,
489.10 s
[really-safe-money-gen] + [ genericValidate qf,
489.10 s
[really-safe-money-gen] declare "The quantisation factor is not zero" $ w /= 0
489.10 s
[really-safe-money-gen] ]
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen] Tests:
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen] Money.MultiAmountSpec
489.10 s
[really-safe-money-gen] fromAmount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 6.68 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] sum
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 88.45 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] add
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 58.17 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] addAmount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 33.86 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] subtractAmount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 13.91 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
489.10 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
489.10 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 55.65 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] subtract
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 25.31 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] Money.QuantisationFactorSpec
489.10 s
[really-safe-money-gen] fromWord32
489.10 s
[really-safe-money-gen] ✓ produces valid quantisation factors 18.51 ms
489.10 s
[really-safe-money-gen] passed for all of 10000 inputs.
489.10 s
[really-safe-money-gen] DecimalLiteral
489.10 s
[really-safe-money-gen] fromDecimalLiteral
489.10 s
[really-safe-money-gen] ✓ produces valid factors 83.34 ms
489.10 s
[really-safe-money-gen] passed for all of 10000 inputs.
489.10 s
[really-safe-money-gen] GenValid QuantisationFactor
489.10 s
[really-safe-money-gen] genValid :: Gen QuantisationFactor
489.10 s
[really-safe-money-gen] ✓ only generates valid 'QuantisationFactor's 19.12 ms
489.10 s
[really-safe-money-gen] passed for all of 10000 inputs.
489.10 s
[really-safe-money-gen] Money.MultiAccountSpec
489.10 s
[really-safe-money-gen] subtractAmount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 35.57 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] add
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 64.48 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] GenValid (MultiAccount Currency)
489.10 s
[really-safe-money-gen] genValid :: Gen (MultiAccount Currency)
489.10 s
[really-safe-money-gen] ✓ only generates valid '(MultiAccount Currency)'s 55.99 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] sum
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 95.43 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] fromAccount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 6.59 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] addAccount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 36.89 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] subtract
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 66.49 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] addAmount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 36.30 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen] subtractAccount
489.10 s
[really-safe-money-gen] ✓ produces valid amounts 36.24 ms
489.10 s
[really-safe-money-gen] passed for all of 1000 inputs.
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen]
489.10 s
[really-safe-money-gen] Examples: 46000
489.10 s
[really-safe-money-gen] Passed: 19
489.10 s
[really-safe-money-gen] Failed: 0
489.10 s
[really-safe-money-gen] Sum of test runtimes: 0.84 secondsTesting mutation ConstBool at src/Money/MultiAmount.hs:168:20-45:
489.10 s
[really-safe-money-gen] @@ -165,7 +165,7 @@
489.10 s
[really-safe-money-gen] maxBoundN :: Natural
489.10 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
489.10 s
[really-safe-money-gen] actualResult =
489.10 s
[really-safe-money-gen] - if roundedResult > maxBoundN
489.10 s
[really-safe-money-gen] + if True
489.10 s
[really-safe-money-gen] then Nothing
489.10 s
[really-safe-money-gen] else Just (fromIntegral roundedResult)
489.10 s
[really-safe-money-gen] rounded = case compare (fromIntegral roundedResult) theoreticalResult of
489.10 s
[really-safe-money-gen]
489.19 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:168:20-45:
489.19 s
[really-safe-money-gen] @@ -165,7 +165,7 @@
489.19 s
[really-safe-money-gen] maxBoundN :: Natural
489.19 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
489.19 s
[really-safe-money-gen] actualResult =
489.19 s
[really-safe-money-gen] - if roundedResult > maxBoundN
489.19 s
[really-safe-money-gen] + if False
489.19 s
[really-safe-money-gen] then Nothing
489.19 s
[really-safe-money-gen] else Just (fromIntegral roundedResult)
489.19 s
[really-safe-money-gen] rounded = case compare (fromIntegral roundedResult) theoreticalResult of
489.19 s
[really-safe-money-gen]
489.29 s
[really-safe-money-gen] Testing mutation Negate at src/Money/MultiAmount.hs:168:20-45:
489.29 s
[really-safe-money-gen] @@ -165,7 +165,7 @@
489.29 s
[really-safe-money-gen] maxBoundN :: Natural
489.29 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
489.29 s
[really-safe-money-gen] actualResult =
489.29 s
[really-safe-money-gen] - if roundedResult > maxBoundN
489.29 s
[really-safe-money-gen] + if not (roundedResult > maxBoundN)
489.29 s
[really-safe-money-gen] then Nothing
489.29 s
[really-safe-money-gen] else Just (fromIntegral roundedResult)
489.29 s
[really-safe-money-gen] rounded = case compare (fromIntegral roundedResult) theoreticalResult of
489.29 s
[really-safe-money-gen]
489.40 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/MultiAmount.hs:168:17-57:
489.40 s
[really-safe-money-gen] @@ -165,7 +165,7 @@
489.40 s
[really-safe-money-gen] maxBoundN :: Natural
489.40 s
[really-safe-money-gen] maxBoundN = fromIntegral (maxBound :: Word64)
489.40 s
[really-safe-money-gen] actualResult =
489.40 s
[really-safe-money-gen] - if roundedResult > maxBoundN
489.40 s
[really-safe-money-gen] + if roundedResult > maxBoundN
489.40 s
[really-safe-money-gen] then Nothing
489.40 s
[really-safe-money-gen] else Just (fromIntegral roundedResult)
489.40 s
[really-safe-money-gen] rounded = case compare (fromIntegral roundedResult) theoreticalResult of
489.40 s
[really-safe-money-gen]
489.50 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:119:12-28:
489.50 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
489.50 s
[really-safe-money-gen] Just a -> do
489.50 s
[really-safe-money-gen] r <- Amount.subtract a amount
489.50 s
[really-safe-money-gen] Just $
489.50 s
[really-safe-money-gen] - if r == Amount.zero
489.50 s
[really-safe-money-gen] + if True
489.50 s
[really-safe-money-gen] then M.delete currency m
489.50 s
[really-safe-money-gen] else M.insert currency r m
489.50 s
[really-safe-money-gen]
489.50 s
[really-safe-money-gen]
489.64 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:119:12-28:
489.64 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
489.64 s
[really-safe-money-gen] Just a -> do
489.64 s
[really-safe-money-gen] r <- Amount.subtract a amount
489.64 s
[really-safe-money-gen] Just $
489.64 s
[really-safe-money-gen] - if r == Amount.zero
489.64 s
[really-safe-money-gen] + if False
489.64 s
[really-safe-money-gen] then M.delete currency m
489.64 s
[really-safe-money-gen] else M.insert currency r m
489.64 s
[really-safe-money-gen]
489.64 s
[really-safe-money-gen]
489.76 s
[really-safe-money-gen] Testing mutation Negate at src/Money/MultiAmount.hs:119:12-28:
489.76 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
489.76 s
[really-safe-money-gen] Just a -> do
489.76 s
[really-safe-money-gen] r <- Amount.subtract a amount
489.76 s
[really-safe-money-gen] Just $
489.76 s
[really-safe-money-gen] - if r == Amount.zero
489.76 s
[really-safe-money-gen] + if not (r == Amount.zero)
489.76 s
[really-safe-money-gen] then M.delete currency m
489.76 s
[really-safe-money-gen] else M.insert currency r m
489.76 s
[really-safe-money-gen]
489.76 s
[really-safe-money-gen]
489.89 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/MultiAmount.hs:119:9-37:
489.89 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
489.89 s
[really-safe-money-gen] Just a -> do
489.89 s
[really-safe-money-gen] r <- Amount.subtract a amount
489.89 s
[really-safe-money-gen] Just $
489.89 s
[really-safe-money-gen] - if r == Amount.zero
489.89 s
[really-safe-money-gen] + if r == Amount.zero
489.89 s
[really-safe-money-gen] then M.delete currency m
489.89 s
[really-safe-money-gen] else M.insert currency r m
489.89 s
[really-safe-money-gen]
489.89 s
[really-safe-money-gen]
490.02 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:106:12-28:
490.02 s
[really-safe-money-gen] @@ -103,7 +103,7 @@
490.02 s
[really-safe-money-gen] Just a -> do
490.02 s
[really-safe-money-gen] r <- Amount.add a amount
490.02 s
[really-safe-money-gen] Just $
490.02 s
[really-safe-money-gen] - if r == Amount.zero
490.02 s
[really-safe-money-gen] + if True
490.02 s
[really-safe-money-gen] then M.delete currency m
490.02 s
[really-safe-money-gen] else M.insert currency r m
490.02 s
[really-safe-money-gen]
490.02 s
[really-safe-money-gen]
490.52 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:106:12-28:
490.52 s
[really-safe-money-gen] @@ -103,7 +103,7 @@
490.52 s
[really-safe-money-gen] Just a -> do
490.52 s
[really-safe-money-gen] r <- Amount.add a amount
490.52 s
[really-safe-money-gen] Just $
490.52 s
[really-safe-money-gen] - if r == Amount.zero
490.52 s
[really-safe-money-gen] + if False
490.52 s
[really-safe-money-gen] then M.delete currency m
490.52 s
[really-safe-money-gen] else M.insert currency r m
490.52 s
[really-safe-money-gen]
490.52 s
[really-safe-money-gen]
491.02 s
[really-safe-money-gen] Testing mutation Negate at src/Money/MultiAmount.hs:106:12-28:
491.02 s
[really-safe-money-gen] @@ -103,7 +103,7 @@
491.02 s
[really-safe-money-gen] Just a -> do
491.02 s
[really-safe-money-gen] r <- Amount.add a amount
491.02 s
[really-safe-money-gen] Just $
491.02 s
[really-safe-money-gen] - if r == Amount.zero
491.02 s
[really-safe-money-gen] + if not (r == Amount.zero)
491.02 s
[really-safe-money-gen] then M.delete currency m
491.02 s
[really-safe-money-gen] else M.insert currency r m
491.02 s
[really-safe-money-gen]
491.02 s
[really-safe-money-gen]
491.53 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/MultiAmount.hs:106:9-37:
491.53 s
[really-safe-money-gen] @@ -103,7 +103,7 @@
491.53 s
[really-safe-money-gen] Just a -> do
491.53 s
[really-safe-money-gen] r <- Amount.add a amount
491.53 s
[really-safe-money-gen] Just $
491.53 s
[really-safe-money-gen] - if r == Amount.zero
491.53 s
[really-safe-money-gen] + if r == Amount.zero
491.53 s
[really-safe-money-gen] then M.delete currency m
491.53 s
[really-safe-money-gen] else M.insert currency r m
491.53 s
[really-safe-money-gen]
491.53 s
[really-safe-money-gen]
492.04 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:73:6-27:
492.04 s
[really-safe-money-gen] @@ -70,7 +70,7 @@
492.04 s
[really-safe-money-gen]
492.04 s
[really-safe-money-gen] fromAmount :: currency -> Amount -> MultiAmount currency
492.04 s
[really-safe-money-gen] fromAmount currency amount =
492.04 s
[really-safe-money-gen] - if amount == Amount.zero
492.04 s
[really-safe-money-gen] + if True
492.04 s
[really-safe-money-gen] then zero
492.04 s
[really-safe-money-gen] else MultiAmount $ M.singleton currency amount
492.04 s
[really-safe-money-gen]
492.04 s
[really-safe-money-gen]
492.15 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:73:6-27:
492.15 s
[really-safe-money-gen] @@ -70,7 +70,7 @@
492.15 s
[really-safe-money-gen]
492.21 s
[really-safe-money-gen] fromAmount :: currency -> Amount -> MultiAmount currency
492.21 s
[really-safe-money-gen] fromAmount currency amount =
492.21 s
[really-safe-money-gen] - if amount == Amount.zero
492.21 s
[really-safe-money-gen] + if False
492.21 s
[really-safe-money-gen] then zero
492.21 s
[really-safe-money-gen] else MultiAmount $ M.singleton currency amount
492.21 s
[really-safe-money-gen]
492.21 s
[really-safe-money-gen]
492.26 s
[really-safe-money-gen] Testing mutation Negate at src/Money/MultiAmount.hs:73:6-27:
492.26 s
[really-safe-money-gen] @@ -70,7 +70,7 @@
492.26 s
[really-safe-money-gen]
492.27 s
[really-safe-money-gen] fromAmount :: currency -> Amount -> MultiAmount currency
492.27 s
[really-safe-money-gen] fromAmount currency amount =
492.27 s
[really-safe-money-gen] - if amount == Amount.zero
492.27 s
[really-safe-money-gen] + if not (amount == Amount.zero)
492.27 s
[really-safe-money-gen] then zero
492.27 s
[really-safe-money-gen] else MultiAmount $ M.singleton currency amount
492.27 s
[really-safe-money-gen]
492.27 s
[really-safe-money-gen]
492.36 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/MultiAmount.hs:73:3-51:
492.36 s
[really-safe-money-gen] @@ -70,7 +70,7 @@
492.36 s
[really-safe-money-gen]
492.36 s
[really-safe-money-gen] fromAmount :: currency -> Amount -> MultiAmount currency
492.36 s
[really-safe-money-gen] fromAmount currency amount =
492.36 s
[really-safe-money-gen] - if amount == Amount.zero
492.36 s
[really-safe-money-gen] + if amount == Amount.zero
492.36 s
[really-safe-money-gen] then zero
492.36 s
[really-safe-money-gen] else MultiAmount $ M.singleton currency amount
492.36 s
[really-safe-money-gen]
492.36 s
[really-safe-money-gen]
492.45 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:66:13-29:
492.45 s
[really-safe-money-gen] @@ -63,7 +63,7 @@
492.45 s
[really-safe-money-gen] [ genericValidate ma,
492.45 s
[really-safe-money-gen] decorateMap m $ \_ a ->
492.45 s
[really-safe-money-gen] declare "The amount is not zero" $
492.45 s
[really-safe-money-gen] - a /= Amount.zero
492.45 s
[really-safe-money-gen] + True
492.45 s
[really-safe-money-gen] ]
492.45 s
[really-safe-money-gen]
492.45 s
[really-safe-money-gen] instance (NFData currency) => NFData (MultiAmount currency)
492.45 s
[really-safe-money-gen]
492.86 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:66:13-29:
492.86 s
[really-safe-money-gen] @@ -63,7 +63,7 @@
492.86 s
[really-safe-money-gen] [ genericValidate ma,
492.86 s
[really-safe-money-gen] decorateMap m $ \_ a ->
492.86 s
[really-safe-money-gen] declare "The amount is not zero" $
492.86 s
[really-safe-money-gen] - a /= Amount.zero
492.86 s
[really-safe-money-gen] + False
492.86 s
[really-safe-money-gen] ]
492.86 s
[really-safe-money-gen]
492.86 s
[really-safe-money-gen] instance (NFData currency) => NFData (MultiAmount currency)
492.86 s
[really-safe-money-gen]
493.25 s
[really-safe-money-gen] Testing mutation Negate at src/Money/MultiAmount.hs:66:13-29:
493.25 s
[really-safe-money-gen] @@ -63,7 +63,7 @@
493.25 s
[really-safe-money-gen] [ genericValidate ma,
493.25 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.25 s
[really-safe-money-gen] declare "The amount is not zero" $
493.25 s
[really-safe-money-gen] - a /= Amount.zero
493.25 s
[really-safe-money-gen] + not (a /= Amount.zero)
493.25 s
[really-safe-money-gen] ]
493.25 s
[really-safe-money-gen]
493.25 s
[really-safe-money-gen] instance (NFData currency) => NFData (MultiAmount currency)
493.25 s
[really-safe-money-gen]
493.35 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/MultiAmount.hs:63:7-8:
493.35 s
[really-safe-money-gen] @@ -60,7 +60,7 @@
493.35 s
[really-safe-money-gen] instance (Validity currency, Show currency, Ord currency) => Validity (MultiAmount currency) where
493.35 s
[really-safe-money-gen] validate ma@(MultiAmount m) =
493.35 s
[really-safe-money-gen] mconcat
493.35 s
[really-safe-money-gen] - [ genericValidate ma,
493.35 s
[really-safe-money-gen] + [ genericValidate ma,
493.35 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.35 s
[really-safe-money-gen] declare "The amount is not zero" $
493.35 s
[really-safe-money-gen] a /= Amount.zero
493.35 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Test suite took: 0.84 seconds
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:119:12-28:
493.56 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
493.56 s
[really-safe-money-gen] Just a -> do
493.56 s
[really-safe-money-gen] r <- Amount.subtract a amount
493.56 s
[really-safe-money-gen] Just $
493.56 s
[really-safe-money-gen] - if r == Amount.zero
493.56 s
[really-safe-money-gen] + if True
493.56 s
[really-safe-money-gen] then M.delete currency m
493.56 s
[really-safe-money-gen] else M.insert currency r m
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Tests:
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Money.MultiAmountSpec
493.56 s
[really-safe-money-gen] subtractAmount
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 15.93 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen] subtract
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 24.31 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Examples: 2000
493.56 s
[really-safe-money-gen] Passed: 2
493.56 s
[really-safe-money-gen] Failed: 0
493.56 s
[really-safe-money-gen] Sum of test runtimes: 0.04 seconds
493.56 s
[really-safe-money-gen] Test suite took: 0.04 seconds
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:119:12-28:
493.56 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
493.56 s
[really-safe-money-gen] Just a -> do
493.56 s
[really-safe-money-gen] r <- Amount.subtract a amount
493.56 s
[really-safe-money-gen] Just $
493.56 s
[really-safe-money-gen] - if r == Amount.zero
493.56 s
[really-safe-money-gen] + if False
493.56 s
[really-safe-money-gen] then M.delete currency m
493.56 s
[really-safe-money-gen] else M.insert currency r m
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Tests:
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Money.MultiAmountSpec
493.56 s
[really-safe-money-gen] subtractAmount
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 13.66 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen] subtract
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 20.85 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Examples: 2000
493.56 s
[really-safe-money-gen] Passed: 2
493.56 s
[really-safe-money-gen] Failed: 0
493.56 s
[really-safe-money-gen] Sum of test runtimes: 0.03 seconds
493.56 s
[really-safe-money-gen] Test suite took: 0.04 seconds
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Testing mutation Negate at src/Money/MultiAmount.hs:119:12-28:
493.56 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
493.56 s
[really-safe-money-gen] Just a -> do
493.56 s
[really-safe-money-gen] r <- Amount.subtract a amount
493.56 s
[really-safe-money-gen] Just $
493.56 s
[really-safe-money-gen] - if r == Amount.zero
493.56 s
[really-safe-money-gen] + if not (r == Amount.zero)
493.56 s
[really-safe-money-gen] then M.delete currency m
493.56 s
[really-safe-money-gen] else M.insert currency r m
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Tests:
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Money.MultiAmountSpec
493.56 s
[really-safe-money-gen] subtractAmount
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 13.53 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen] subtract
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 23.47 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Examples: 2000
493.56 s
[really-safe-money-gen] Passed: 2
493.56 s
[really-safe-money-gen] Failed: 0
493.56 s
[really-safe-money-gen] Sum of test runtimes: 0.04 seconds
493.56 s
[really-safe-money-gen] Test suite took: 0.04 seconds
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Testing mutation CondFlip at src/Money/MultiAmount.hs:119:9-37:
493.56 s
[really-safe-money-gen] @@ -116,7 +116,7 @@
493.56 s
[really-safe-money-gen] Just a -> do
493.56 s
[really-safe-money-gen] r <- Amount.subtract a amount
493.56 s
[really-safe-money-gen] Just $
493.56 s
[really-safe-money-gen] - if r == Amount.zero
493.56 s
[really-safe-money-gen] + if r == Amount.zero
493.56 s
[really-safe-money-gen] then M.delete currency m
493.56 s
[really-safe-money-gen] else M.insert currency r m
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Tests:
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Money.MultiAmountSpec
493.56 s
[really-safe-money-gen] subtractAmount
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 14.08 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen] subtract
493.56 s
[really-safe-money-gen] ✓ produces valid amounts 21.18 ms
493.56 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen]
493.56 s
[really-safe-money-gen] Examples: 2000
493.56 s
[really-safe-money-gen] Passed: 2
493.57 s
[really-safe-money-gen] Failed: 0
493.57 s
[really-safe-money-gen] Sum of test runtimes: 0.04 seconds
493.57 s
[really-safe-money-gen] Test suite took: 0.04 seconds
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:66:13-29:
493.57 s
[really-safe-money-gen] @@ -63,7 +63,7 @@
493.57 s
[really-safe-money-gen] [ genericValidate ma,
493.57 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.57 s
[really-safe-money-gen] declare "The amount is not zero" $
493.57 s
[really-safe-money-gen] - a /= Amount.zero
493.57 s
[really-safe-money-gen] + True
493.57 s
[really-safe-money-gen] ]
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] instance (NFData currency) => NFData (MultiAmount currency)
493.57 s
[really-safe-money-gen] Tests:
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Money.MultiAmountSpec
493.57 s
[really-safe-money-gen] fromAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 8.06 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] sum
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 106.73 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] add
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 70.24 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] addAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 44.25 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] subtractAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 14.51 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
493.57 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
493.57 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 57.30 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] subtract
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 19.88 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Examples: 7000
493.57 s
[really-safe-money-gen] Passed: 7
493.57 s
[really-safe-money-gen] Failed: 0
493.57 s
[really-safe-money-gen] Sum of test runtimes: 0.32 seconds
493.57 s
[really-safe-money-gen] Test suite took: 0.32 seconds
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Testing mutation ConstBool at src/Money/MultiAmount.hs:66:13-29:
493.57 s
[really-safe-money-gen] @@ -63,7 +63,7 @@
493.57 s
[really-safe-money-gen] [ genericValidate ma,
493.57 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.57 s
[really-safe-money-gen] declare "The amount is not zero" $
493.57 s
[really-safe-money-gen] - a /= Amount.zero
493.57 s
[really-safe-money-gen] + False
493.57 s
[really-safe-money-gen] ]
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] instance (NFData currency) => NFData (MultiAmount currency)
493.57 s
[really-safe-money-gen] Tests:
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Money.MultiAmountSpec
493.57 s
[really-safe-money-gen] fromAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 7.69 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] sum
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 90.92 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] add
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 64.21 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] addAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 38.69 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] subtractAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 12.77 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
493.57 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
493.57 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 58.99 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] subtract
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 22.38 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Examples: 7000
493.57 s
[really-safe-money-gen] Passed: 7
493.57 s
[really-safe-money-gen] Failed: 0
493.57 s
[really-safe-money-gen] Sum of test runtimes: 0.30 seconds
493.57 s
[really-safe-money-gen] Test suite took: 0.30 seconds
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/MultiAmount.hs:63:7-8:
493.57 s
[really-safe-money-gen] @@ -60,7 +60,7 @@
493.57 s
[really-safe-money-gen] instance (Validity currency, Show currency, Ord currency) => Validity (MultiAmount currency) where
493.57 s
[really-safe-money-gen] validate ma@(MultiAmount m) =
493.57 s
[really-safe-money-gen] mconcat
493.57 s
[really-safe-money-gen] - [ genericValidate ma,
493.57 s
[really-safe-money-gen] + [ genericValidate ma,
493.57 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.57 s
[really-safe-money-gen] declare "The amount is not zero" $
493.57 s
[really-safe-money-gen] a /= Amount.zero
493.57 s
[really-safe-money-gen] Tests:
493.57 s
[really-safe-money-gen]
493.57 s
[really-safe-money-gen] Money.MultiAmountSpec
493.57 s
[really-safe-money-gen] fromAmount
493.57 s
[really-safe-money-gen] ✓ produces valid amounts 1.91 ms
493.57 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.57 s
[really-safe-money-gen] zero
493.57 s
[really-safe-money-gen] ✓ is valid Testing mutation ListLit at src/Money/MultiAmount.hs:63:7-8:
493.57 s
[really-safe-money-gen] @@ -60,7 +60,7 @@
493.57 s
[really-safe-money-gen] instance (Validity currency, Show currency, Ord currency) => Validity (MultiAmount currency) where
493.57 s
[really-safe-money-gen] validate ma@(MultiAmount m) =
493.57 s
[really-safe-money-gen] mconcat
493.57 s
[really-safe-money-gen] - [ genericValidate ma,
493.57 s
[really-safe-money-gen] + [ genericValidate ma,
493.57 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.57 s
[really-safe-money-gen] declare "The amount is not zero" $
493.57 s
[really-safe-money-gen] a /= Amount.zero
493.57 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen] 0.00 ms
493.80 s
[really-safe-money-gen] sum
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 48.70 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] add
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 24.85 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] addAmount
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 12.31 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] subtractAmount
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 12.07 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
493.80 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
493.80 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 1.42 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] subtract
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 21.18 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen] Examples: 7001
493.80 s
[really-safe-money-gen] Passed: 8
493.80 s
[really-safe-money-gen] Failed: 0
493.80 s
[really-safe-money-gen] Sum of test runtimes: 0.12 seconds
493.80 s
[really-safe-money-gen] Test suite took: 0.13 seconds
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen] Testing mutation ListLit at src/Money/MultiAmount.hs:63:7-8:
493.80 s
[really-safe-money-gen] @@ -60,7 +60,7 @@
493.80 s
[really-safe-money-gen] instance (Validity currency, Show currency, Ord currency) => Validity (MultiAmount currency) where
493.80 s
[really-safe-money-gen] validate ma@(MultiAmount m) =
493.80 s
[really-safe-money-gen] mconcat
493.80 s
[really-safe-money-gen] - [ genericValidate ma,
493.80 s
[really-safe-money-gen] + [ genericValidate ma,
493.80 s
[really-safe-money-gen] decorateMap m $ \_ a ->
493.80 s
[really-safe-money-gen] declare "The amount is not zero" $
493.80 s
[really-safe-money-gen] a /= Amount.zero
493.80 s
[really-safe-money-gen] Tests:
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen] Money.MultiAmountSpec
493.80 s
[really-safe-money-gen] fromAmount
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 2.09 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] zero
493.80 s
[really-safe-money-gen] ✓ is valid 0.02 ms
493.80 s
[really-safe-money-gen] sum
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 51.08 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] add
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 25.82 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] addAmount
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 14.26 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] subtractAmount
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 13.08 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] GenValid (MultiAmount Currency)
493.80 s
[really-safe-money-gen] genValid :: Gen (MultiAmount Currency)
493.80 s
[really-safe-money-gen] ✓ only generates valid '(MultiAmount Currency)'s 1.55 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen] subtract
493.80 s
[really-safe-money-gen] ✓ produces valid amounts 19.85 ms
493.80 s
[really-safe-money-gen] passed for all of 1000 inputs.
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen] Examples: 7001
493.80 s
[really-safe-money-gen] Passed: 8
493.80 s
[really-safe-money-gen] Failed: 0
493.80 s
[really-safe-money-gen] Sum of test runtimes: 0.13 seconds
493.80 s
[really-safe-money-gen] Test suite took: 0.13 seconds
493.80 s
[really-safe-money-gen]
493.80 s
[really-safe-money-gen] Killed: 233
493.80 s
[really-safe-money-gen] Survived: 79
493.80 s
[really-safe-money-gen] Uncovered: 3
493.81 s
[really-safe-money-gen] checkPhase completed in 7 minutes 57 seconds
493.81 s
[really-safe-money-gen] Phase: haddockPhase
493.94 s
[really-safe-money-gen] Preprocessing library for really-safe-money-gen-0.0.0.0...
493.95 s
[really-safe-money-gen] Running Haddock on library for really-safe-money-gen-0.0.0.0...
493.95 s
[really-safe-money-gen] Warning: The documentation for the following packages are not installed. No
493.95 s
[really-safe-money-gen] links will be generated to these packages: really-safe-money-0.0.0.0
494.13 s
[really-safe-money-gen] [ 1 of 13] Compiling Money.Amount.Gen ( src/Money/Amount/Gen.hs, nothing )
494.26 s
[really-safe-money-gen] [ 2 of 13] Compiling Money.Account.Gen ( src/Money/Account/Gen.hs, nothing )
494.26 s
[really-safe-money-gen] [ 3 of 13] Compiling Money.AccountOf.Gen ( src/Money/AccountOf/Gen.hs, nothing )
494.26 s
[really-safe-money-gen] [ 4 of 13] Compiling Money.AmountOf.Gen ( src/Money/AmountOf/Gen.hs, nothing )
494.27 s
[really-safe-money-gen] [ 5 of 13] Compiling Money.ConversionRate.Gen ( src/Money/ConversionRate/Gen.hs, nothing )
494.27 s
[really-safe-money-gen] [ 6 of 13] Compiling Money.ConversionRateOf.Gen ( src/Money/ConversionRateOf/Gen.hs, nothing )
494.28 s
[really-safe-money-gen] [ 7 of 13] Compiling Money.QuantisationFactor.Gen ( src/Money/QuantisationFactor/Gen.hs, nothing )
494.28 s
[really-safe-money-gen] [ 8 of 13] Compiling Money.Currency.Gen ( src/Money/Currency/Gen.hs, nothing )
494.28 s
[really-safe-money-gen] [ 9 of 13] Compiling Money.MultiAmount.Gen ( src/Money/MultiAmount/Gen.hs, nothing )
494.29 s
[really-safe-money-gen] [10 of 13] Compiling Money.MultiAccount.Gen ( src/Money/MultiAccount/Gen.hs, nothing )
494.30 s
[really-safe-money-gen] [11 of 13] Compiling Money.Gen ( src/Money/Gen.hs, nothing )
494.30 s
[really-safe-money-gen] [12 of 13] Compiling Numeric.DecimalLiteral.Gen ( src/Numeric/DecimalLiteral/Gen.hs, nothing )
494.30 s
[really-safe-money-gen] [13 of 13] Compiling Paths_really_safe_money_gen ( dist/build/autogen/Paths_really_safe_money_gen.hs, nothing )
494.32 s
[really-safe-money-gen] Haddock coverage:
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.Amount.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.Account.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.AccountOf.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.AmountOf.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.ConversionRate.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.ConversionRateOf.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.QuantisationFactor.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.Currency.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.MultiAmount.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 1) in 'Money.MultiAccount.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] Warning: Money.Gen: Could not find documentation for exported module: Money.Gen
494.32 s
[really-safe-money-gen] 90% ( 10 / 11) in 'Money.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] 0% ( 0 / 2) in 'Numeric.DecimalLiteral.Gen'
494.32 s
[really-safe-money-gen] Missing documentation for:
494.32 s
[really-safe-money-gen] Module header
494.32 s
[really-safe-money-gen] shrinkSign (src/Numeric/DecimalLiteral/Gen.hs:16)
494.48 s
[really-safe-money-gen] Warning: Money.Amount.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.Amount.Amount
494.48 s
[really-safe-money-gen] - Money.Amount.Distribution
494.48 s
[really-safe-money-gen] - Money.Amount.Rounding
494.48 s
[really-safe-money-gen] Warning: Money.Account.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.Account.Account
494.48 s
[really-safe-money-gen] Warning: Money.AccountOf.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.AccountOf.AccountOf
494.48 s
[really-safe-money-gen] Warning: Money.AmountOf.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.AmountOf.AmountOf
494.48 s
[really-safe-money-gen] Warning: Money.ConversionRate.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.ConversionRate.ConversionRate
494.48 s
[really-safe-money-gen] Warning: Money.ConversionRateOf.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.ConversionRateOf.ConversionRateOf
494.48 s
[really-safe-money-gen] Warning: Money.QuantisationFactor.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.QuantisationFactor.QuantisationFactor
494.48 s
[really-safe-money-gen] Warning: Money.Currency.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.Currency.Currency
494.48 s
[really-safe-money-gen] Warning: Money.MultiAmount.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.MultiAmount.MultiAmount
494.48 s
[really-safe-money-gen] Warning: Money.MultiAccount.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Money.MultiAccount.MultiAccount
494.48 s
[really-safe-money-gen] Warning: Numeric.DecimalLiteral.Gen: could not find link destinations for:
494.48 s
[really-safe-money-gen] - Numeric.DecimalLiteral.DecimalLiteral
498.65 s
[really-safe-money-gen] Documentation created: dist/doc/html/really-safe-money-gen/,
498.65 s
[really-safe-money-gen] dist/doc/html/really-safe-money-gen/really-safe-money-gen.txt
498.73 s
[really-safe-money-gen] Preprocessing test suite 'really-safe-money-test' for really-safe-money-gen-0.0.0.0...
498.73 s
[really-safe-money-gen] Phase: installPhase
498.82 s
[really-safe-money-gen] Installing library in /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/really-safe-money-gen-0.0.0.0-KTRUiMX2w2iErncFnvROeR
499.15 s
[really-safe-money-gen] Phase: fixupPhase
499.17 s
[really-safe-money-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0
499.17 s
[really-safe-money-gen] shrinking /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSreally-safe-money-gen-0.0.0.0-KTRUiMX2w2iErncFnvROeR-ghc9.10.3.so
499.19 s
[really-safe-money-gen] checking for references to /build/ in /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0...
499.22 s
[really-safe-money-gen] patching script interpreter paths in /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0
499.22 s
[really-safe-money-gen] stripping (with command strip and flags -S -p) in /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0/lib
499.27 s
[really-safe-money-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc
499.29 s
[really-safe-money-gen] checking for references to /build/ in /nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc...
499.31 s
[really-safe-money-gen] patching script interpreter paths in /nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc
499.31 s
[really-safe-money-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report
499.32 s
[really-safe-money-gen] checking for references to /build/ in /nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report...
499.35 s
[really-safe-money-gen] patching script interpreter paths in /nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report
499.49 s
[post-build-hook] Uploading to cachix cache "sydtest": /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0 /nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report /nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc
500.06 s
[post-build-hook] Pushing 8 paths (181 are already present) using zstd to cache sydtest ⏳
500.06 s
[post-build-hook]
500.42 s
[post-build-hook] Pushing /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0 (1.27 MiB)
500.53 s
[post-build-hook] Pushing /nix/store/b84444n2il2fkz6n6wbincfddc0hgg1k-genvalidity-containers-1.0.0.2 (868.72 KiB)
500.53 s
[post-build-hook] Pushing /nix/store/8277qhdm7ld6sxwga3d8a7pzsz6lxy72-genvalidity-1.1.1.0 (3.07 MiB)
500.54 s
[post-build-hook] Pushing /nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc (288.17 KiB)
500.54 s
[post-build-hook] Pushing /nix/store/r40wa6qpnxgljdybl25rlh3x84azspl4-genvalidity-1.1.1.0-doc (890.45 KiB)
500.54 s
[post-build-hook] Pushing /nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report (762.70 KiB)
500.55 s
[post-build-hook] Pushing /nix/store/xsvws95rpgksxq95mxhmz5w6gb0gwvyp-really-safe-money-0.0.0.0 (104.51 MiB)
500.56 s
[post-build-hook] Pushing /nix/store/r5wk7b4f69qw0i0jqv37zakfsghxdkha-genvalidity-containers-1.0.0.2-doc (305.05 KiB)
503.06 s
[post-build-hook]
503.06 s
[post-build-hook] All done.
503.08 s
[post-build-hook] Uploading to the NixCI staging cache: /nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0 /nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report /nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc
503.12 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
503.45 s
[post-build-hook] copying 3 paths...
503.45 s
[post-build-hook] copying path '/nix/store/i69b5p948bjsqq5ihw81212gg42nxlpv-really-safe-money-gen-0.0.0.0-doc' to 'https://cache.staging.nix-ci.com'...
503.45 s
[post-build-hook] copying path '/nix/store/abzs9d51wjw5m3mjrrgh8bbffm679daj-really-safe-money-gen-0.0.0.0-report' to 'https://cache.staging.nix-ci.com'...
503.55 s
[post-build-hook] copying path '/nix/store/0lyb7q37r7c71xf1yhvmb6dh8m7dn2zj-really-safe-money-gen-0.0.0.0' to 'https://cache.staging.nix-ci.com'...
504.00 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
504.21 s
[post-build-hook] copying 1 paths...
504.24 s
[post-build-hook] copying path '/nix/store/5yphx350k5jx3xf3y72g63mvdlzxcjks-really-safe-money-gen-0.0.0.0.drv' to 'https://cache.staging.nix-ci.com'...
504.40 s
Progress: 1 of 2 built, 7 of 7 downloaded from cache