def test_FifthHighestOutputExample(self): phaseSettings = '97856' path = 'ExampleData\Day7part2Example2' ampBank = constructAmplifiersInSeriesWithFeedbackLoopFromFile(path,phaseSettings) self.assertEqual(18216, ampBank.giveFinalOutput())
def test_FourthHighestOutputExample(self): phaseSettings = '98765' path = 'ExampleData\Day7part2Example1' ampBank = constructAmplifiersInSeriesWithFeedbackLoopFromFile(path,phaseSettings) self.assertEqual(139629729, ampBank.giveFinalOutput())