def test_points(): [ps] = points(3, 1, 2) assert len(ps) == 3 assert all(p.x == 1 for p in ps) assert all(p.y == 2 for p in ps)
def test_points(): from simple import points [ps] = points(3, 1, 2) assert len(ps) == 3 assert all(p.x == 1 for p in ps) assert all(p.y == 2 for p in ps)