diff options
Diffstat (limited to 'users/grfn/xanthous/test')
-rw-r--r-- | users/grfn/xanthous/test/Xanthous/DataSpec.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/users/grfn/xanthous/test/Xanthous/DataSpec.hs b/users/grfn/xanthous/test/Xanthous/DataSpec.hs index 91dc6cea1ba5..1aa250b1a4fe 100644 --- a/users/grfn/xanthous/test/Xanthous/DataSpec.hs +++ b/users/grfn/xanthous/test/Xanthous/DataSpec.hs @@ -95,4 +95,12 @@ test = testGroup "Xanthous.Data" rots ] ] + + , testGroup "units" + [ testGroup "unit suffixes" + [ testCase "density" + $ tshow (10000 :: Grams `Per` Cubic Meters) + @?= "10000.0 g/m³" + ] + ] ] |