Beispiel #1
0
 def test_get_fails_when_head_is_out_of_right_bound(self):
     tape = Tape('123')
     tape.get()
     tape.right()
     tape.get()
     tape.right()
     tape.get()
     tape.right()
Beispiel #2
0
 def test_get_fails_on_empty_tape(self):
     tape = Tape('')
     tape.get()