예제 #1
0
 def test_equals(self):
     self.assertEqual(
         arithmetic_sequence_elements(1, 2, 5), '1, 3, 5, 7, 9')
예제 #2
0
 def test_equals_2(self):
     self.assertEqual(arithmetic_sequence_elements(1, -3, 10),
                      '1, -2, -5, -8, -11, -14, -17, -20, -23, -26')