From abc629a10b5b4f374ec97d826c70c00e45ac2f95 Mon Sep 17 00:00:00 2001 From: NeonXP Date: Fri, 6 Sep 2013 16:43:45 +0400 Subject: + Tests for scientific notation by AntonStoeckl --- tests/MathTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/MathTest.php b/tests/MathTest.php index 0cfbefe..1b96ee2 100644 --- a/tests/MathTest.php +++ b/tests/MathTest.php @@ -56,7 +56,10 @@ class MathTest extends \PHPUnit_Framework_TestCase array('(2+2)*-2'), array('(2+-2)*2'), - array('sin(10) * cos(50) / min(10, 20/2)') + array('sin(10) * cos(50) / min(10, 20/2)'), + + array('100500 * 3.5E5'), + array('100500 * 3.5E-5') ); } } \ No newline at end of file -- cgit v1.2.3