コード例 #1
0
 def test_value_comparison_formatted_fail(self):
     try:
         check.check_value_comparison("testArg", "(>0||<0)&&!=10", 10)
     except AssertionError:
         pass
     else:
         self.fail("should have thrown AssertionError")
コード例 #2
0
 def test_value_comparison_lte_fail(self):
     try:
         check.check_value_comparison("testArg", "<=5", 6)
     except AssertionError:
         pass
     else:
         self.fail("should have thrown AssertionError")
コード例 #3
0
 def test_value_comparison_formatted(self):
     check.check_value_comparison("testArg", "(>0||<0)&&!=10", -10)
コード例 #4
0
 def test_value_comparison_lte(self):
     check.check_value_comparison("testArg", "<=5", 5)
コード例 #5
0
 def test_value_comparison_lt(self):
     check.check_value_comparison("testArg", "<5", 0)
コード例 #6
0
 def test_value_comparison_gt(self):
     check.check_value_comparison("testArg", ">5", 10)