Posts by Nat Pryce

    Diamond Kata – TDD with only Property-Based Tests

    The Diamond Kata is a simple exercise that Seb Rose described in a blog post on recycling tests in TDD. Seb describes the Diamond Kata as: Given a letter, print a diamond starting with ā€˜Aā€™ with the supplied letter at the widest point. For example: print-diamond ā€˜Cā€™ prints A B B C C B B […]