test labels

This commit is contained in:
Simon Michael 2008-10-10 11:12:54 +00:00
parent d172cd0d6e
commit 19fbe17ff4

View File

@ -39,8 +39,9 @@ alltests = concattests [
tests =
TestList
[
show (dollars 1) ~?= "$1.00"
,show (hours 1) ~?= "h1.00" -- should be 1.0h
"display dollar amount" ~: show (dollars 1) ~?= "$1.00"
,"display time amount" ~: show (hours 1) ~?= "1.0h"
,"amount precision" ~: do
let a1 = Amount (getcurrency "$") 1.23 1