Skip to content

Commit 26f6888

Browse files
author
Oskar Lundström
committed
Tester i val-level dim in i STack
1 parent bf444c5 commit 26f6888

File tree

1 file changed

+3
-8
lines changed
  • Physics/src/Dimensions/ValueLevel

1 file changed

+3
-8
lines changed

Physics/src/Dimensions/ValueLevel/Test.lhs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)