Esempio n. 1
0
 /**
  * @covers Moontoast\Math\BigNumber::powMod
  * @expectedException Moontoast\Math\Exception\ArithmeticException
  * @expectedExceptionMessage Division by zero
  */
 public function testPowModDivisionByZero()
 {
     $bn = new BigNumber(16);
     $bn->powMod(8, 0);
 }