示例#1
0
 def test_assert_gte(self):
     assert_gte(1, 1)
     assert_gte(2, 1)
     assert_gte(1.01, 1.0)
     assert_gte('b', 'a')
     assert_gte(True, False)
     assert_gte(False, False)
示例#2
0
 def test_assert_gte(self):
     with assert_raises(AssertionError):
         assert_gte(3, 5)