Exemplo n.º 1
0
        public void TryParseCharCode(string code, string exp)
        {
            ICurrency c;

            Assert.IsTrue(Iso4217.TryParse(code, out c));
            Assert.AreEqual(exp, c.CharCode);
        }
Exemplo n.º 2
0
        public void TryParseCharCodeFail()
        {
            ICurrency c;

            Assert.IsFalse(Iso4217.TryParse(12345, out c));
        }
Exemplo n.º 3
0
        public void TryParseNumCodeFail()
        {
            ICurrency c;

            Assert.IsFalse(Iso4217.TryParse("???", out c));
        }