Exemplo n.º 1
0
 /**
  * @covers NumbersPHP\Basic::modInverse
  * @expectedException \Exception
  */
 public function testModInverse()
 {
     $this->assertEquals(1, \NumbersPHP\Basic::modInverse(1, 5), 'modInverse will return the modulo m inverse of a');
     \NumbersPHP\Basic::modInverse(65, 40);
 }