Exemplo n.º 1
0
 def test_assert_greater():
     # Check that the nose implementation of assert_less gives the
     # same thing as the scikit's
     assert_greater(1, 0)
     _assert_greater(1, 0)
     assert_raises(AssertionError, assert_greater, 0, 1)
     assert_raises(AssertionError, _assert_greater, 0, 1)
Exemplo n.º 2
0
 def test_assert_greater():
     # Check that the nose implementation of assert_less gives the
     # same thing as the scikit's
     assert_greater(1, 0)
     _assert_greater(1, 0)
     assert_raises(AssertionError, assert_greater, 0, 1)
     assert_raises(AssertionError, _assert_greater, 0, 1)