Example #1
0
 def test_that_is_int_sequence_returns_false_for_alnum_str(self):
     assert_false(is_int_sequence("hehe"))
Example #2
0
 def test_that_is_int_sequence_returns_true_for_digit(self):
     assert_true(is_int_sequence("143"))
Example #3
0
 def test_that_is_int_sequence_returns_false_for_some_alfanum_str(self):
     assert_false(is_int_sequence("h345aha"))
Example #4
0
 def test_that_is_int_sequence_returns_true_for_int_sequence(self):
     assert_true(is_int_sequence("1-3,7,10"))
Example #5
0
 def test_that_is_int_sequence_returns_false_for_alnum_str(self):
     assert_false(is_int_sequence("hehe"))
Example #6
0
 def test_that_is_int_sequence_returns_false_for_some_alfanum_str(self):
     assert_false(is_int_sequence("h345aha"))
Example #7
0
 def test_that_is_int_sequence_returns_true_for_digit(self):
     assert_true(is_int_sequence("143"))
Example #8
0
 def test_that_is_int_sequence_returns_true_for_int_sequence(self):
     assert_true(is_int_sequence("1-3,7,10"))