Пример #1
0
 def test_find_following_duplicates(self):
     array = ["a", "a", "b", "a", "a", "a", "c", "c", "b", "b"]
     first = nk.find_following_duplicates(array)[0]
     self.assertEqual(first, True)
Пример #2
0
def test_find_following_duplicates():
    array = ["a", "a", "b", "a", "a", "a", "c", "c", "b", "b"]
    first = nk.find_following_duplicates(array)[0]
    assert first == True