예제 #1
0
파일: test_day15.py 프로젝트: fgahr/aoc2015
 def test_p1_example(self):
     self.assertEqual(day15.part_one(data), 62842880)
예제 #2
0
 def test_part_1_known_input_1(self):
     self.assertEqual(436, part_one([0, 3, 6]))
예제 #3
0
 def test_part_1_known_input_2(self):
     self.assertEqual(1, part_one([1, 3, 2]))
예제 #4
0
 def test_part_1_known_input_8(self):
     self.assertEqual(1836, part_one([3, 1, 2]))
예제 #5
0
 def test_part_1_known_input_7(self):
     self.assertEqual(438, part_one([3, 2, 1]))
예제 #6
0
 def test_part_1_known_input_5(self):
     self.assertEqual(78, part_one([2, 3, 1]))
예제 #7
0
 def test_part_1_known_input_4(self):
     self.assertEqual(27, part_one([1, 2, 3]))
예제 #8
0
 def test_part_1_known_input_3(self):
     self.assertEqual(10, part_one([2, 1, 3]))