public void GetsCorrectPath() { var solver = new PyramidSolver(_pyramidProvider); Assert.Collection <int>(solver.GetPath(), i => Assert.Equal(1, i), i => Assert.Equal(8, i), i => Assert.Equal(5, i), i => Assert.Equal(2, i)); }
public void GetsCorrectMaxValue() { var solver = new PyramidSolver(_pyramidProvider); Assert.Equal(16, solver.GetMax()); }
public PyramidSolverTests() { _classUnderTest = new PyramidSolver(); }