def testOneNullList(self): self.assertEqual(sumLists([0], []), [0]) self.assertEqual(sumLists([], [0]), [0])
def testTwoNumbersOfDifferentLengths(self): self.assertEqual(sumLists([5,9,2], [7]), [2,0,3])
def testTwoNullLists(self): self.assertEqual(sumLists([], []),[0])
def testTwoThreeDigitNumbers(self): self.assertEqual(sumLists([6,5,4], [9,8,7]), [5,4,2,1])
def testTwoTwoDigitNumbersWithCarry(self): self.assertEqual(sumLists([2,7], [3,4]), [5,1,1])
def testTwoSingleDigitNumbersWithCarry(self): self.assertEqual(sumLists([6],[7]), [3,1])
def testTwoSingleDigitNumbers(self): self.assertEqual(sumLists([4],[3]),[7])
def testOneListOfZero(self): self.assertEqual(sumLists([5],[0]),[5])