Exemplo n.º 1
0
        public void GetTaxaMoedaTest()
        {
            //Arrange
            ICurrency currency = new USDCurrency();
            Dictionary <string, object> dictionary = new Dictionary <string, object>
            {
                { "USDBRL", 1 },
                { "USDAUD", 2 }
            };
            //Act
            var moedas = currency.GetTaxaMoeda(dictionary);

            //Assert
            Assert.AreEqual(1.0, moedas);
        }