diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-01-24 19:16:10 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-01-24 19:16:10 +0200 |
commit | 95bde35523b77f87c43aed877259607a77814d6f (patch) | |
tree | 7ff7bc3295df57ae8e3397254e3d33bf5094473c /tests/test_core.py | |
parent | 64d37b601f9180c66a4b10476ef3a4a614c78de6 (diff) |
Add test for storing special float literals in source code. Currently fails in fastcomp.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index d25847d7..99c69459 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -6267,6 +6267,9 @@ def process(filename): self.do_run(src.replace('TYPE', 'unsigned int'), '*2147483645**2**-5**5*') Settings.CORRECT_SIGNS = 0 + def test_float_literals(self): + self.do_run_from_file(path_from_root('tests', 'test_float_literals.cpp'), path_from_root('tests', 'test_float_literals.out')) + def test_exit_status(self): if self.emcc_args is None: return self.skip('need emcc') src = r''' |