Example #1
0
 /**
  * @covers Moontoast\Math\BigNumber::mod
  * @expectedException Moontoast\Math\Exception\ArithmeticException
  * @expectedExceptionMessage Division by zero
  */
 public function testModDivisionByZero()
 {
     $bn = new BigNumber('9223372036854775808');
     $bn->mod(0);
 }