def testPartTwo(self): expected = 336 foundTrees = partTwo(self.data, [[1, 1], [3, 1], [5, 1], [7, 1], [1, 2]]) self.assertEqual(foundTrees, expected)
def testPartTwo(self): expected = 286 actions = ['F10', 'N3', 'F7', 'R90', 'F11'] result = partTwo(actions) self.assertEqual(result, expected)
def testPartTwo(self): expectedAcc = 8 acc = partTwo(self.data) self.assertEqual(acc, expectedAcc)
def testPartTwo(self): expected = 1068781 result = partTwo(self.data) self.assertEqual(result, expected)
def testPartTwo(self): expected = 62 result = partTwo(127, self.data) self.assertEqual(result, expected)
def testPartTwo(self): expected = 26 result = partTwo(self.initialState) self.assertEqual(result, expected)
def testPartTwo(self): expected = 208 result = partTwo(self.data_v2) self.assertEqual(result, expected)
def testPartTwo(self): expected = 1 matches = partTwo(self.data) self.assertEqual(matches, expected)
def testPartTwo(self): expected = 149245887792 result = partTwo(self.data) self.assertEqual(result, expected)
def testPartTwo(self): expected = '979 * 366 * 675 = 241861950' self.assertEqual(partTwo(self.data), expected)