def test_input_123456789(): input_ = ( " _ _ _ _ _ _ _ \n" " | _| _||_||_ |_ ||_||_|\n" " ||_ _| | _||_| ||_| _|\n" " " ) assert scan(input_) == "123456789"
def test_input_7s(): input_ = ( " _ _ _ _ _ _ _ _ _ \n" " | | | | | | | | |\n" " | | | | | | | | |\n" " " ) assert scan(input_) == "777777777"
def test_input_3s(): input_ = ( " _ _ _ _ _ _ _ _ _ \n" " _| _| _| _| _| _| _| _| _|\n" " _| _| _| _| _| _| _| _| _|\n" " " ) assert scan(input_) == "333333333"
def test_input_0s(): input_ = ( " _ _ _ _ _ _ _ _ _ \n" "| || || || || || || || || |\n" "|_||_||_||_||_||_||_||_||_|\n" " " ) assert scan(input_) == "000000000"
def test_input_2s(): input_ = ( " _ _ _ _ _ _ _ _ _ \n" " _| _| _| _| _| _| _| _| _|\n" "|_ |_ |_ |_ |_ |_ |_ |_ |_ \n" " " ) assert scan(input_) == "222222222"
def test_input_1s(): input_ = ( " \n" " | | | | | | | | |\n" " | | | | | | | | |\n" " " ) assert scan(input_) == "111111111"