Katas
Roman Numerals by cyber-dojo
Restart the Roman numerals kata, but this time apply all great habits we have looked at so far, plus TPP. Try to evolve your code using only the TPP table. Don't think about how to implement a test. Just keep moving down the TPP table. If you do this, the problem should solve itself. If you find yourself jumping steps, pause and consider whether there is a simpler way to move forward with a simpler transformation.
Note
The solution for this section can be found on page 369.
Prime Factors by cyber-dojo
Factorize a positive integer number into its prime factors using TDD and the TPP table.
Cyber-dojo foundation (See license): http://www.cyber-dojo.org/.
The examples of prime factors by cyber-dojo are as follows:
Figure 4.5: Prime factors by cyber-dojo
Boolean Calculator by Alessandro Di Gioia
Implement a Boolean calculator that gets a string as input and evaluates it to the Boolean result.
These...