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')
def test_valid_range(self): self.assertEqual(d(1, 6), [3, 5])