コード例 #1
0
        public void CurrencyConverterConvertToTest()
        {
            Currency cur = new Currency(54, CurrencyName.Grivna);

            cur = CurrencyConverter.ConvertTo(CurrencyName.Dollar, cur);

            Assert.IsTrue(cur.Amount == 2 && cur.CurrName == CurrencyName.Dollar);
        }