TDD Integer to Text Kata

I had an interesting application requirement: Take an integer (or long) and convert it into a text representation of a number. For example, the method accepts the number 1 and returns “One” and so on. The goal is to convert any positive integer (including zero) into its text representation. In C#, as of this writing, an int maxes out at 2,147,483,647. Test Driven Development (TDD) applies very nicely to this problem. The solution to this problem may not be obvious at first glance (and in some cases, a bit overwhelming). Might I recommend a “divide and conquer” approach and we … Continue reading TDD Integer to Text Kata