コード例 #1
0
 public void TestBackwardInstruction()
 {            
     var backwardInstruction = new BackwardInstruction
         (
             new TapeMemory(),
             new BrainmessProgram
             {
                 Instructions = "<"
             }
         );
     backwardInstruction.Execute();
     Assert.AreEqual(0, backwardInstruction.TapeMemory.CurrentPointer);
 }