Beispiel #1
0
 def test_example7(slf):
     slf.assertEqual(contest(parse(example7)), 26)
Beispiel #2
0
 def test_example5(slf):
     slf.assertEqual(contest(parse(example5)), 1261476)
Beispiel #3
0
 def test_example6(slf):
     slf.assertEqual(contest(parse(example6)), 1202161486)
Beispiel #4
0
 def test_example4(slf):
     slf.assertEqual(contest(parse(example4)), 779210)
Beispiel #5
0
 def test_example3(slf):
     slf.assertEqual(contest(parse(example3)), 754018)
Beispiel #6
0
 def test_example2(slf):
     slf.assertEqual(contest(parse(example2)), 3417)
Beispiel #7
0
 def test_example1(slf):
     slf.assertEqual(contest(parse(example1)), 1068781)
Beispiel #8
0
 def test_example1(slf):
     slf.assertEqual(earliest_bus(parse(example1)), 295)