def test_integration_testData(self): self.assertEqual( 37, calculateFuelCosts(self.testData, findMidpoint(self.testData)))
def test_integration_inputData(self): self.assertEqual( 326132, calculateFuelCosts(self.inputData, findMidpoint(self.inputData)))
def test_findMidpoint_simple_even(self): self.assertEqual(3, findMidpoint([1, 2, 3, 4, 5, 6]))
def test_findMidpoint_testData(self): self.assertEqual(2, findMidpoint(self.testData))
def test_findMidpoint_simple_odd(self): self.assertEqual(3, findMidpoint([1, 2, 3, 4, 5]))