Beispiel #1
0
 public void JumpingAroundTheTape()
 {
     tapeUT.SetValue(10);
     tapeUT.Jump();
     Assert.AreEqual(0, tapeUT.GetValue());
     tapeUT.SetIndex();
     Assert.AreEqual(10, tapeUT.GetValue());
     tapeUT.Decrement();
     Assert.AreEqual(9, tapeUT.GetValue());
     tapeUT.Retrieve();
     Assert.AreEqual(0, tapeUT.GetValue());
 }