def test_raises_TypeErrors(self): with self.assertRaises(TypeError): cp.below(30.0)
def test_30_is_correct(self): self.assertEqual(cp.below(30), [2, 3, 5, 7, 11, 13, 17, 19, 23, 29])
def test_15mil_is_1mil_long(self): self.assertEqual(len(cp.below(15485864)), 1000000)
def test_0_is_empty(self): self.assertEqual(cp.below(0), [])