예제 #1
0
파일: runtime.py 프로젝트: pedal-edu/pedal
 def condition(self, execution, text, exact_strings):
     """ Tests if the regex does not match the text """
     return errors(execution) or not equality_test(
         self.get_output(execution),
         text.value,
         _exact_strings=exact_strings,
         _delta=None)
예제 #2
0
 def condition(self, left, right, exact_strings, delta):
     """ Tests if the left and right are not equal """
     return equality_test(left.value, right.value, exact_strings, delta)