//-------------------------------------------------------------------------
        public virtual void test_multipliedBy()
        {
            MultiCurrencyAmount @base = MultiCurrencyAmount.of(CA1, CA2);
            MultiCurrencyAmount test  = @base.multipliedBy(2.5);

            assertMCA(test, CA1.multipliedBy(2.5), CA2.multipliedBy(2.5));
        }
Exemplo n.º 2
0
        //-------------------------------------------------------------------------
        public virtual void test_multipliedBy()
        {
            CurrencyAmount test = CCY_AMOUNT.multipliedBy(3.5);

            assertEquals(test, CurrencyAmount.of(CCY1, AMT1 * 3.5));
        }