def test_single(self): self.assertTrue(find([1], 1))
def test_empty(self): self.assertFalse(find([], 1))
def test_single_not_found(self): self.assertFalse(find([1], 2))
def test_multiple_not_found(self): self.assertFalse(find([1, 2, 3], 0))
def test_multiple(self): self.assertTrue(find([1, 2, 3], 2))