public void Solution_024_Throws_On_Invalid_Permutation_Index() { Action runSolution024 = () => Solution024.Run(2, 10); runSolution024.Should().Throw <IndexOutOfRangeException>("'012' does not have a 10 permutation."); }
public void Solves_Problem_0024_Example() { Solution024.Run(2, 4).Should().Be("120"); }