def test_one_char_inc(self): self.failUnlessEqual(increment_str('1'), '2')
def test_multi_char_inc(self): self.failUnlessEqual(increment_str('01ff'.decode('hex')), '0200'.decode('hex'))
def test_two_char_inc(self): self.failUnlessEqual(increment_str('aa'), 'ab')