Пример #1
0
 def test_is_arithmetic_sequence_true_1(self):
     self.assertTrue(is_arithmetic_sequence([1, 2, 3]))
Пример #2
0
 def test_is_arithmetic_sequence_false_1(self):
     self.assertFalse(is_arithmetic_sequence([]))
Пример #3
0
 def test_is_arithmetic_sequence_false_2(self):
     self.assertFalse(is_arithmetic_sequence([1487, 4817, 8148]))
Пример #4
0
 def test_is_arithmetic_sequence_true_4(self):
     self.assertTrue(is_arithmetic_sequence([1487, 4817, 8147]))
Пример #5
0
 def test_is_arithmetic_sequence_true_6(self):
     self.assertTrue(is_arithmetic_sequence([4817, 1487, 8147, 11477]))
Пример #6
0
 def test_is_arithmetic_sequence_true_1(self):
     self.assertTrue(is_arithmetic_sequence([1, 2, 3]))
Пример #7
0
 def test_is_arithmetic_sequence_false_2(self):
     self.assertFalse(is_arithmetic_sequence([1487, 4817, 8148]))
Пример #8
0
 def test_is_arithmetic_sequence_false_1(self):
     self.assertFalse(is_arithmetic_sequence([]))
Пример #9
0
 def test_is_arithmetic_sequence_true_6(self):
     self.assertTrue(is_arithmetic_sequence([4817, 1487, 8147, 11477]))
Пример #10
0
 def test_is_arithmetic_sequence_true_4(self):
     self.assertTrue(is_arithmetic_sequence([1487, 4817, 8147]))