Exemplo n.º 1
0
        public void TestStringParsing()
        {
            BankAccount parseAccount = new BankAccount();

            String parseOne = "123456,Rambo,500.50";
            BankAccount ba1 = parseAccount.ParseFromString(parseOne);

            String parseTwo = "000000,,";
            BankAccount ba2 = parseAccount.ParseFromString(parseTwo);
        }
Exemplo n.º 2
0
        public void TestStringParsingInvalidValues()
        {
            BankAccount parseAccount = new BankAccount();

            String parseOne = "abcd,Rambo,50.50";
            BankAccount ba1 = parseAccount.ParseFromString(parseOne);
        }