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