From edf679cfab53c749dcb13f6d5fafe60633862cfc Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 26 Sep 2014 22:23:46 +0200 Subject: [PATCH] [REVERT] tests added in forward port e2e60bf4eb89d92e883e8520771523c1c0377fd3 This is related to the revert 333852e19dd3d5174e07e29f9d8f6c087b2c09f6 --- openerp/addons/base/tests/base_test.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/openerp/addons/base/tests/base_test.yml b/openerp/addons/base/tests/base_test.yml index 25e3916ea22..5590e735135 100644 --- a/openerp/addons/base/tests/base_test.yml +++ b/openerp/addons/base/tests/base_test.yml @@ -218,15 +218,6 @@ try_round(457.4554, '457.455') try_round(-457.4554, '-457.455') - # Try some rounding value with rounding method UP instead of HALF-UP - # We use 8.175 because when normalizing 8.175 with precision_digits=3 it gives - # us 8175,0000000001234 as value, and if not handle correctly the rounding UP - # value will be incorrect (should be 8,175 and not 8,176) - try_round(8.175, '8.175') - try_round(8.1751, '8.176') - try_round(-8.175, '-8.175') - try_round(-8.1751, '-8.175') - # Extended float range test, inspired by Cloves Almeida's test on bug #882036. fractions = [.0, .015, .01499, .675, .67499, .4555, .4555, .45555] expecteds = ['.00', '.02', '.01', '.68', '.67', '.46', '.456', '.4556']