aboutsummaryrefslogtreecommitdiff
path: root/tests/MathTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MathTest.php')
-rw-r--r--tests/MathTest.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/MathTest.php b/tests/MathTest.php
index ba944fe..0cfbefe 100644
--- a/tests/MathTest.php
+++ b/tests/MathTest.php
@@ -45,7 +45,18 @@ class MathTest extends \PHPUnit_Framework_TestCase
array('0.1 / 0.2'),
array('1 / 2'),
- array('1 + 0.6 - (3 * 2 / 50)')
+ array('2 * 2 + 3 * 3'),
+
+ array('1 + 0.6 - 3 * 2 / 50'),
+
+ array('(5 + 3) * -1'),
+
+ array('2+2*2'),
+ array('(2+2)*2'),
+ array('(2+2)*-2'),
+ array('(2+-2)*2'),
+
+ array('sin(10) * cos(50) / min(10, 20/2)')
);
}
} \ No newline at end of file