Пример #1
0
        public void TestComputeIBANFromBankAccount2()
        {
            Debug.WriteLine("ComputeIBANFromBankAccount2");

            string prefix = "178124";
            string number = "4159";
            string bank = "0710";
            CzechBankAccount account = new CzechBankAccount(prefix, number, bank);
            string expResult = "CZ6907101781240000004159";
            string result = account.ToIBANFromCzechBankAccount();

            Assert.AreEqual(expResult, result);
        }
Пример #2
0
        public void TestComputeIBANFromBankAccount()
        {
            Debug.WriteLine("ComputeIBANFromBankAccount");

            string prefix = "19";
            string number = "2000145399";
            string bank = "0800";
            CzechBankAccount account = new CzechBankAccount(prefix, number, bank);
            string expResult = "CZ6508000000192000145399";
            string result = account.ToIBANFromCzechBankAccount();

            Assert.AreEqual(expResult, result);
        }