Refactor your Ternary tree code from assignment 1 problem 3 using your tests
from assignment 2.
How much did you have to change your tests as you refactored your code?
refactoring a program, one can not tell in advance which refactoring one will
need. Hence it is hard to specify which sections of the refactoring book to
read. Chapter 3 gives an overview of common problems in code and lists possible
refactorings to correct the problems. So it is a good place to start. Many of
the solutions to problem 3 in assignment 1 had complex conditional expressions.
So chapter 9 should be useful.