public void GetSymbolReturnsBlankCharForUninitialisedTapeEntries() { Tape tape = new Tape(); Assert.AreEqual(' ', tape.GetSymbol(-1)); Assert.AreEqual(' ', tape.GetSymbol(1)); }
public void GetSymbolReturnsCharStoredInTapeElements() { Tape tape = new Tape(); tape.Write('a'); Assert.AreEqual('a', tape.GetSymbol(0)); }
public void GetSymbolReturnsBlankCharForNullElements() { Tape tape = new Tape(); Assert.AreEqual(' ', tape.GetSymbol(0)); }