diff options
Diffstat (limited to 'tests/MathTest.php')
-rw-r--r-- | tests/MathTest.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/MathTest.php b/tests/MathTest.php index 47d89b8..a843db5 100644 --- a/tests/MathTest.php +++ b/tests/MathTest.php @@ -147,6 +147,8 @@ class MathTest extends TestCase ['sin(10) * cos(50) / min(10, (20/2))'], ['sin(10) * cos(50) / min(10, (max(10,20)/2))'], + ['100500 * 3.5e5'], + ['100500 * 3.5e-5'], ['100500 * 3.5E5'], ['100500 * 3.5E-5'], @@ -208,6 +210,24 @@ class MathTest extends TestCase ['1 + (3 *-1)'], ['1 - 0'], ['1-0'], + + ['-(1.5)'], + ['-log(4)'], + ['0-acosh(1.5)'], + ['-acosh(1.5)'], + ['-(-4)'], + ['-(-4 + 5)'], + ['-(3 * 1)'], + ['-(-3 * -1)'], + ['-1 + (-3 * -1)'], + ['-1 + ( -3 * 1)'], + ['-1 + (3 *-1)'], + ['-1 - 0'], + ['-1-0'], + ['-(4*2)-5'], + ['-(4*-2)-5'], + ['-(-4*2) - 5'], + ['-4*-5'], ]; } |