Пример #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')