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