Esempio n. 1
0
    def test_largestSeriesProduct_13_23514624000(self):
        length = 13
        expectedResult = 23514624000

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

        self.assertEqual(actualResult, expectedResult)
Esempio n. 2
0
    def test_largestSeriesProduct_4_5832(self):
        length = 4
        expectedResult = 5832

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

        self.assertEqual(actualResult, expectedResult)