Exemple #1
0
 def test_first_example(self):
     assert_that(main.run('1212'), equal_to(6))
Exemple #2
0
 def test_fifth_example(self):
     assert_that(main.run('12131415'), equal_to(4))
Exemple #3
0
 def test_third_example(self):
     assert_that(main.run('123425'), equal_to(4))
Exemple #4
0
 def test_fourth_example(self):
     assert_that(main.run('123123'), equal_to(12))
Exemple #5
0
 def test_second_example(self):
     assert_that(main.run('1221'), equal_to(0))