Example #1
0
	def test_nextpass(self):
		self.assertEqual(part1.nextpass("abcdefgh"), "abcdffaa")
		self.assertEqual(part1.nextpass("ghijklmn"), "ghjaabcc")
Example #2
0
import sys
sys.path.append(".")
from part1 import nextpass

#print nextpass(nextpass("hepxcrrq"))
print nextpass("hepxxyzz")