Exemplo n.º 1
0
 public function testIsInverse()
 {
     $eurToUsd = new CurrencyPair($this->eur, $this->usd);
     $this->assertTrue($eurToUsd->isInverse($this->usdToEur));
     $this->assertFalse($this->usdToGbp->isInverse($this->usdToEur));
 }