public void TestUtopianTreeSolution(int numberOfCycles, int expectedHeight) { // arrange Solutions.Implementation.UtopianTree.Solution tree = new Solutions.Implementation.UtopianTree.Solution(); // act int estimatedHeight = tree.CalculateHeight(numberOfCycles); // assert NUnit.Framework.Assert.AreEqual(estimatedHeight, expectedHeight); }
public void TestUtopianTreeSolution(int numberOfCycles, int expectedHeight) { // arrange Solutions.Implementation.UtopianTree.Solution tree = new Solutions.Implementation.UtopianTree.Solution(); // act int estimatedHeight = tree.CalculateHeight(numberOfCycles); // assert NUnit.Framework.Assert.AreEqual(estimatedHeight, expectedHeight); }