We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536e641 commit 2aabbe1Copy full SHA for 2aabbe1
tests/BigDecimalTest.php
@@ -1240,6 +1240,14 @@ public function providerDivideAndRemainder()
1240
];
1241
}
1242
1243
+ /**
1244
+ * @expectedException \Brick\Math\ArithmeticException
1245
+ */
1246
+ public function testDivideAndRemainderByZeroThrowsException()
1247
+ {
1248
+ BigDecimal::of(1.2)->divideAndRemainder(0);
1249
+ }
1250
+
1251
/**
1252
* @dataProvider providerPower
1253
*
0 commit comments