Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with DishedVacuumVessel #270

Open
shimwell opened this issue Oct 11, 2022 · 0 comments
Open

error with DishedVacuumVessel #270

shimwell opened this issue Oct 11, 2022 · 0 comments

Comments

@shimwell
Copy link
Member

spotted this error in the CI

def test_volume_increases_with_rotation_angle():
        test_shape_1 = paramak.DishedVacuumVessel(rotation_angle=180)
        test_shape_2 = paramak.DishedVacuumVessel(rotation_angle=360)
>       assert test_shape_1.volume() * 2 == pytest.approx(test_shape_2.volume())
E       assert 0.0 == 21536838.298035033 ± 2.2e+01
E         comparison failed
E         Obtained: 0.0
E         Expected: 21536838.298035033 ± 2.2e+01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant