File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Physics/src/Dimensions/ValueLevel Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -158,20 +158,15 @@ From this module, we export a function `runTests`. That function runs all the te
158158
159159> runTests :: IO ()
160160> runTests = do
161- > putStrLn " Dimensions value-level: Multiplication commutative"
162161> quickCheck prop_mulCommutative
163- > putStrLn " Dimensions value-level: Multiplication associative"
164162> quickCheck prop_mulAssociative
165- > putStrLn " Dimensions value-level: `one` is unit for multiplication"
166163> quickCheck prop_mulOneUnit
167- > putStrLn " Dimensions value-level: Dividing by a division brings up the lowest denominator"
168- > quickCheck prop_divTwice
169- > putStrLn " Dimensions value-level: Multiplication and divison cancel each other out"
170164> quickCheck prop_mulDivCancel
171- > putStrLn " Dimensions value-level: Dividing by `one` does nothing"
172165> quickCheck prop_divOne
173- > putStrLn " Dimensions value-level: Multiplication by x is the same as dividing by the inverse of x "
166+ > quickCheck prop_divTwice
174167> quickCheck prop_mulDivInv
168+ > quickCheck prop_correctDim
169+ > putStrLn " Value-level dimensions tests passed!"
175170
176171}
177172
You can’t perform that action at this time.
0 commit comments