Esempio n. 1
0
        public void TestCurrencyManagerEnumerable()
        {
            ICurrencyManager manager = new SimpleCurrencyManager();
            var enumerator           = manager.GetEnumerator();

            Assert.IsInstanceOfType(enumerator, typeof(IEnumerator <ICurrency>));
        }
Esempio n. 2
0
        public void TestCurrencyManagerGetAllNames()
        {
            ICurrencyManager manager = new SimpleCurrencyManager();

            Assert.IsInstanceOfType(manager.GetAllNames(), typeof(List <String>));
        }
Esempio n. 3
0
        public void TestCurrencyManagerExchange()
        {
            ICurrencyManager manager = new SimpleCurrencyManager();

            Assert.IsNull(manager.Exchange("____No exist!!!", 128.32));
        }