Skip to content

Commit

Permalink
refactor: change "Prepare and test" section
Browse files Browse the repository at this point in the history
  • Loading branch information
BamblooV committed Feb 8, 2022
1 parent 81e3273 commit ded84d9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Write your solution in `src/index.js`

---

**Input:** String. Its length is multiple of 10.
- Each letter from alphabet encoded with dots(`.`) and dashes(`-`). `10` stands for dot(`.`), `11` stands for dash(`-`).
- Each encoded **letter's length is 10**.
- If the length of the encoded letter is **less then 10**, it `left padded` with `0`.
- `Space` in string is `**********`.
**Input:** String. Its length is multiple of 10.
- Each letter from alphabet encoded with dots(`.`) and dashes(`-`). `10` stands for dot(`.`), `11` stands for dash(`-`).
- Each encoded **letter's length is 10**.
- If the length of the encoded letter is **less then 10**, it `left padded` with `0`.
- `Space` in string is `**********`.
**Output:** String (decoded)
**Example:** `me` -> `m === -- === 0000001111`, `e === . === 0000000010` -> `00000011110000000010`

Expand All @@ -20,7 +20,8 @@ Write your solution in `src/index.js`
## Prepare and test

- Install [Node.js](https://nodejs.org/en/)
- Clone this repository: `https://github.com/romacher/morse-decoder.git`
- Fork this repository: `https://github.com/romacher/morse-decoder.git`
- Clone your newly created repo: https://github.com/<%your_github_username%>/morse-decoder/
- Go to the folder `morse-decoder`
- Run `npm install` in command line
- Run `npm test` in command line
Expand Down

0 comments on commit ded84d9

Please sign in to comment.