public void GetDistinctNumbersDialed_InvalidValidStartKeyAndOneHop_ReturnsNegativeOne(int startingKey) { Assert.That(PhoneDialKnightChessSolver.GetDistinctNumbersDialed(startingKey, 1), Is.EqualTo(-1)); }
public void GetDistinctNumbersDialed_StartingOnSixWithGivenHops_ReturnsExpectedResult(int numberOfHops, int expectedResult) { Assert.That(PhoneDialKnightChessSolver.GetDistinctNumbersDialed(6, numberOfHops), Is.EqualTo(expectedResult)); }
public void GetDistinctNumbersDialed_ValidStartKeyAndOneHop_ReturnsExpectedResult(int startingKey, int expectedResult) { Assert.That(PhoneDialKnightChessSolver.GetDistinctNumbersDialed(startingKey, 1), Is.EqualTo(expectedResult)); }