Project Euler : Problem 112 : Adding unit test