예제 #1
0
 public void ShiftLeftElement()
 {
     var data = new int[] { 1, 2, 3, 4, 0, 0, 0, 0 };
     var array = new ArrayClass<int>(data, 4);
     array.ShiftRight(1);
     var actualResult = array.GetData(2);
     Assert.AreEqual(2, actualResult);
 }