diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/MathTest.php | 13 |
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 |