diff --git a/tests/StringCalcTest.php b/tests/StringCalcTest.php index 57362e5..25d8bc9 100644 --- a/tests/StringCalcTest.php +++ b/tests/StringCalcTest.php @@ -236,6 +236,8 @@ public function testCalculations() ['min(2)', 2], ['min(2,1.1)', 1.1], ['min(1,2,3)', 1], + ['min(-5, -10)', -10], + ['min(-10, -5)', -10], ['pow(2,3)', 8], ['radToDeg(2)', 114.59155902616], ['round(1.8)', 2],