def METHOD_NAME():
    ellipse = Ellipse(major=1.0, minor=0.5)
    assert close(ellipse.major, 1.0, tol=1e-12)
    ellipse._major = None
    with pytest.raises(ValueError):
        ellipse.major
    with pytest.raises(ValueError):
        ellipse.major = -1.0