public void TestCalculateNewIndexException() { Assert.Throws <ArgumentException>( () => CyclicRotation.CalculateNewIndex(5, 1, 3)); }
public void TestCalculateLength(int expected, int index, int K, int Length) { Assert.Equal(expected, CyclicRotation.CalculateNewIndex(index, K, Length)); }