Example #1
0
    def test_read_zeroes(self):
        input = " _  _  _  _  _  _  _  _  _ "\
                "| || || || || || || || || |"\
                "|_||_||_||_||_||_||_||_||_|"

        account_number = read.parse_account_number(input)
        self.assert_(account_number == '000000000')
Example #2
0
    def test_read_ones(self):
        input = "                           "\
                "  |  |  |  |  |  |  |  |  |"\
                "  |  |  |  |  |  |  |  |  |"

        account_number = read.parse_account_number(input)
        self.assert_(account_number == '111111111')