Example #1
0
def test_first():
    assert first(xrange(5)) == 0
    assert first([]) is None
Example #2
0
 def test_first(self):
     assert_equal(first(xrange(5)), 0)
     assert_equal(first([]), None)
Example #3
0
def test_first():
    assert first(xrange(5)) == 0
    assert first([]) is None