public static void Main() { Tapper tap = new Tapper(); TeaCup teaCup = new TeaCup(); TeaBag teaBag = new TeaBag(); teaCup.steepTeaBag(teaBag); tap.test("Steeping tea bag ", teaBag.teaBagIsSteeped, true ); LooseLeafTea looseLeafTea = new LooseLeafTea(); TeaBall teaBall = new TeaBall(looseLeafTea); teaCup.steepTeaBag(teaBall); tap.test("Steeping loose leaf tea", teaBag.teaBagIsSteeped, true); tap.done(); }
public static void Main() { Tapper tap = new Tapper(); TeaCup teaCup = new TeaCup(); TeaBag teaBag = new TeaBag(); teaCup.steepTeaBag(teaBag); tap.test("Steeping tea bag ", teaBag.teaBagIsSteeped, true); LooseLeafTea looseLeafTea = new LooseLeafTea(); TeaBall teaBall = new TeaBall(looseLeafTea); teaCup.steepTeaBag(teaBall); tap.test("Steeping loose leaf tea", teaBag.teaBagIsSteeped, true); tap.done(); }