Пример #1
0
    def test_largestSeriesProduct_13_23514624000(self):
        length = 13
        expectedResult = 23514624000

        actualResult = Problem008.largestSeriesProduct(self.sequence, length)

        self.assertEqual(actualResult, expectedResult)
Пример #2
0
    def test_largestSeriesProduct_4_5832(self):
        length = 4
        expectedResult = 5832

        actualResult = Problem008.largestSeriesProduct(self.sequence, length)

        self.assertEqual(actualResult, expectedResult)