public static void EmptyTree() { Pre sol = new Pre(); HappyLittleTrees happy = new HappyLittleTrees(); Console.WriteLine(happy.Description()); Assert.AreEqual(sol.sol1, happy.Description()); }
public static void BadTree() { Pre sol = new Pre(); HappyLittleTrees happy = new HappyLittleTrees(); happy.GrowBranches(); happy.Ouch(1); happy.GrowTrunk(); Console.WriteLine(happy.Description()); Assert.AreEqual(sol.sol2, happy.Description()); }