Esempio n. 1
0
 def test_first_digit_over_bound(self):
     line = 'A|---33---'
     self.assertIsNotNone(parse._out_of_bounds_regex(25).match(line))
Esempio n. 2
0
 def test_edge_case_below_bound_okay(self):
     line = 'A|---24---'
     self.assertIsNone(parse._out_of_bounds_regex(25).match(line))