exercism / exercism/problem-specifications

say: canonical-data needs improvement.

Offen
#502 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Ruby
Sterne
358
Forks
563
Ø Merge
18 Std. 41 Min.
Gemergte PRs (30 T.)
2

Beschreibung

In the canonical data for the "say" problem:
https://github.com/exercism/x-common/blob/master/exercises/say/canonical-data.json

* The descriptions should be descriptive.

In most cases the description is the same as the output.
```
{
"description": "zero",
"input": 0,
"expected": "zero"
},
```

The description should describe the test, and why it is useful to test that particular number.

* Should test all available numbers.

A purely test driven implementation of these tests would miss out a lot of numbers.
(particularly the teens and tens)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.