test labels
This commit is contained in:
		
							parent
							
								
									d172cd0d6e
								
							
						
					
					
						commit
						19fbe17ff4
					
				
							
								
								
									
										5
									
								
								Tests.hs
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Tests.hs
									
									
									
									
									
								
							| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user