Exemple #1
0
 def test_goto(self):
   eq_(eval(begin(set_text('abcde'), goto(1))), 'bcde')
Exemple #2
0
 def test_goto(self):
     eq_(eval(begin(set_text('abcde'), goto(1))), 'bcde')
Exemple #3
0
 def test_skip(self):
   eq_(eval(begin(set_text('abcde'), goto(2), next_char())), 'c')
Exemple #4
0
 def test_skip(self):
     eq_(eval(begin(set_text('abcde'), goto(2), next_char())), 'c')