aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeonXP <frei@neonxp.info>2013-09-06 16:43:45 +0400
committerNeonXP <frei@neonxp.info>2013-09-06 16:43:45 +0400
commitabc629a10b5b4f374ec97d826c70c00e45ac2f95 (patch)
treefd4e8a1810c5c64a3f68802673e4342cefded0b5
parenta0f031dc2355b91a89c36e9b01c7e02fac686bfc (diff)
+ Tests for scientific notation by AntonStoecklv0.1
-rw-r--r--tests/MathTest.php5
1 files changed, 4 insertions, 1 deletions
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