Example #1
0
        public void TestMethod2(int[] nums, int k, int[] expected)
        {
            // Arrange
            RotateArray question = new RotateArray();

            // Act
            question.Rotate2(nums, k);

            // Assert
            CollectionAssert.AreEqual(expected, nums);
        }