public virtual void test_inverse_same() { FxRate test = FxRate.of(GBP, GBP, 1d); assertEquals(test.inverse(), FxRate.of(GBP, GBP, 1d)); }
//------------------------------------------------------------------------- public virtual void test_inverse() { FxRate test = FxRate.of(GBP, USD, 1.25d); assertEquals(test.inverse(), FxRate.of(USD, GBP, 0.8d)); }