Package com.wesabe.api.util.money

Examples of com.wesabe.api.util.money.Money.negate()


    }

    @Test
    public void shouldStillBeZeroWhenNegated() throws Exception {
      Money zeroDollars = new Money(decimal("0.00"), USD);
      assertTrue(zeroDollars.equals(zeroDollars.negate()));
    }

    @Test
    public void shouldBeZeroEurosWhenConverted() throws Exception {
      CurrencyExchangeRateMap exchangeRates = new CurrencyExchangeRateMap();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.