예제 #1
0
	def test_invalid_range(self):
		self.assertEqual(d(1, 1), 'Last number in range have to be bigger than first')
		self.assertEqual(d(6, 1), 'Last number in range have to be bigger than first')
예제 #2
0
 def test_invalid_range(self):
     self.assertEqual(d(1, 1),
                      'Last number in range have to be bigger than first')
     self.assertEqual(d(6, 1),
                      'Last number in range have to be bigger than first')
예제 #3
0
	def test_valid_range(self):
		self.assertEqual(d(1, 6), [3, 5])
예제 #4
0
 def test_valid_range(self):
     self.assertEqual(d(1, 6), [3, 5])