def test_vigenere_encrypt_with_symbols(self): self.assertEqual(etao.vigenere_encrypt('ATTACK AT DAWN!', 'LEMON'), 'LXFOPV EF RNHR!')
def test_vigenere_bad_key_symbol(self): with self.assertRaises(ValueError): etao.vigenere_encrypt('ATTACKATDAWN', 'LEMON!')
def test_vigenere_encrypt(self): self.assertEqual(etao.vigenere_encrypt('ATTACKATDAWN', 'LEMON'), 'LXFOPVEFRNHR')
def test_vigenere_encrypt_mixcase(self): self.assertEqual(etao.vigenere_encrypt('AtTackaTdAWn', 'lEmOn'), 'LXFOPVEFRNHR')
def test_vigenere_encrypt_with_symbols(self): self.assertEqual( etao.vigenere_encrypt('ATTACK AT DAWN!', 'LEMON'), 'LXFOPV EF RNHR!' )
def test_vigenere_encrypt(self): self.assertEqual( etao.vigenere_encrypt('ATTACKATDAWN', 'LEMON'), 'LXFOPVEFRNHR' )
def test_vigenere_encrypt_mixcase(self): self.assertEqual( etao.vigenere_encrypt('AtTackaTdAWn', 'lEmOn'), 'LXFOPVEFRNHR' )