Commit f0171be5 authored by Jérome Perrin's avatar Jérome Perrin

also test very big numbers that will only be represented in scientific

notation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34754 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 61285cc7
......@@ -158,6 +158,7 @@ class TestFloatField(ERP5TypeTestCase):
self.field.values['editable'] = 0
self.assertEquals('10000000000000000000.00',
self.field.render(10000000000000000000))
self.assertEquals('1e+100', self.field.render(1e+100))
def test_validate_thousand_separator_point(self):
self.field.values['input_style'] = '-1 234.5'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment