def test_vigenere_longer_msg(self): self.assertEquals('cdefg', vigenere_cipher('abcde', 'c'))
def test_vigenere_same_str_sizes(self): self.assertEquals('abc', vigenere_cipher('abc', 'aaa')) self.assertEquals('ace', vigenere_cipher('abc', 'abc')) self.assertEquals('bcd', vigenere_cipher('abc', 'bbb')) self.assertEquals('cde', vigenere_cipher('abc', 'ccc'))
def test_vigenere_empty(self): self.assertEquals('', vigenere_cipher('', ''))