tracks/elixir/exercises/ocr-numbers/README.md in trackler-2.2.1.91 vs tracks/elixir/exercises/ocr-numbers/README.md in trackler-2.2.1.92

- old
+ new

@@ -1,26 +1,26 @@ -# Ocr Numbers +# OCR Numbers Given a 3 x 4 grid of pipes, underscores, and spaces, determine which number is represented, or whether it is garbled. # Step One To begin with, convert a simple binary font to a string containing 0 or 1. The binary font uses pipes and underscores, four rows high and three columns wide. -``` +```text _ # | | # zero. |_| # # the fourth row is always blank ``` Is converted to "0" -``` +```text # | # one. | # # (blank fourth row) ``` @@ -37,20 +37,20 @@ # Step Three Update your program to recognize all numbers 0 through 9, both individually and as part of a larger string. -``` +```text _ _| |_ ``` Is converted to "2" -``` +```text _ _ _ _ _ _ _ _ # | _| _||_||_ |_ ||_||_|| | # decimal numbers. ||_ _| | _||_| ||_| _||_| # # fourth line is always blank ``` @@ -59,11 +59,11 @@ # Step Four Update your program to handle multiple numbers, one per line. When converting several lines, join the lines with commas. -``` +```text _ _ | _| _| ||_ _| _ _ @@ -81,13 +81,11 @@ ## Running tests Execute the tests with: ```bash -$ elixir bob_test.exs +$ elixir ocr_numbers_test.exs ``` - -(Replace `bob_test.exs` with the name of the test file.) ### Pending tests In the test suites, all but the first test have been skipped.