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