Resistor Color in C#

Instructions say “Black”
exercise tests for “black”

I caught this pretty early, but I feel like i could have been scratching my head for a while.

Exercism practices TDD - always look to the tests as the requirements. The instructions are like an executive summary, but the tests are the source of truth.

1 Like

Is there a need though to keep these colors capital-cased in the instructions? Lowercasing the encoding table should be also done for Resistor Color Duo and Trio. The instructions for these two write the colors lowercased in the examples so lowercasing the encoding table to match makes sense to me.

I think updating the instructions to match the data is reasonable.