public LimitedBasicTape(LimitedBasicTape tape, Dictionary <byte, string> gamma) : this(tape.Tape, gamma) { if (tape == null) { throw new ArgumentNullException(); } if (gamma == null) { throw new ArgumentNullException(); } Position = tape.Position; ExitsOnLeftSide = tape.ExitsOnLeftSide; }
public bool CompleteContentEquals(LimitedBasicTape t) { if (t.TotalTapeLength != TotalTapeLength) { return(false); } if (Position != t.Position) { return(false); } if (!Tape.SequenceEqual(t.Tape)) { return(false); } return(true); }