public void countValleys_should_return_2() { var totalStepsCount = 12; var path = "DDUUDDUDUUUD"; var expectedValleyCount = 2; var result = solution.countValleys(totalStepsCount, path); Assert.AreEqual(expectedValleyCount, result); }
public void countValleys_should_return_2() { var totalStepsCount = 12; var path = "DDUUDDUDUUUD"; var expectedValleyCount = 2; var result = solution.countValleys(totalStepsCount, path); Assert.AreEqual(expectedValleyCount, result); }