Beispiel #1
0
def test_index_of(predicate, iterable, expected):
    actual = index_of(predicate, iterable)
    assert actual == expected
Beispiel #2
0
 def test_index_of(self, predicate, iterable, expected):
     actual = index_of(predicate, iterable)
     self.assertEqual(actual, expected)