def test_triple(self): """Test na trzyznakowym napisie.""" self.assertEqual(bigrams("xyz"), ["xy", "yz"])
def test_double(self): """Test na dwuznakowym napisie.""" self.assertEqual(bigrams("xy"), ["xy"])
def test_simple(self): """Prosty test.""" self.assertEqual(bigrams("banana"), ["ba", "an", "na", "an", "na"])