Beispiel #1
0
 def test_last_digit_01(self):
     self.assertEqual(last_digit([]), 1)
Beispiel #2
0
 def test_last_digit_02(self):
     self.assertEqual(last_digit([0, 0]), 1)
Beispiel #3
0
 def test_last_digit_11(self):
     self.assertEqual(last_digit([123232, 694022, 140249]), 6)
Beispiel #4
0
 def test_last_digit_12(self):
     self.assertEqual(last_digit([499942, 898102, 846073]), 6)
Beispiel #5
0
 def test_last_digit_09(self):
     self.assertEqual(last_digit([2, 2, 2, 0]), 4)
Beispiel #6
0
 def test_last_digit_10(self):
     self.assertEqual(last_digit([937640, 767456, 981242]), 0)
Beispiel #7
0
 def test_last_digit_08(self):
     self.assertEqual(last_digit([12, 30, 21]), 6)
Beispiel #8
0
 def test_last_digit_07(self):
     self.assertEqual(last_digit([7, 6, 21]), 1)
Beispiel #9
0
 def test_last_digit_06(self):
     self.assertEqual(last_digit([4, 3, 6]), 4)
Beispiel #10
0
 def test_last_digit_05(self):
     self.assertEqual(last_digit([3, 4, 5]), 1)
Beispiel #11
0
 def test_last_digit_04(self):
     self.assertEqual(last_digit([1, 2]), 1)