Difference between revisions of "Module:StringHelpers/doc"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | + | Module supports numbers with max 3 digits. | |
| − | = Simple question = | + | = Tests = |
| + | |||
| + | == Simple question == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 19: | Line 21: | ||
|} | |} | ||
| − | = Complex question = | + | == Complex question == |
{| class="wikitable" | {| class="wikitable" | ||
Latest revision as of 18:18, 12 April 2020
Module supports numbers with max 3 digits.
Tests
Simple question
| Expected | Actual |
|---|---|
| 150 | 150 |
| 15 | 15 |
| 7 | 7 |
| 150 | 150 |
| 15 | 15 |
| 7 | 7 |
Complex question
| Expected | Actual |
|---|---|
| 6 | 6 |
| 7 | 7 |
| 10 | 10 |
| 99 | 99 |
| 101 | 101 |
| 6 | 6 |
| 7 | 7 |
| 10 | 10 |
| 99 | 99 |
| 101 | 101 |