File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ def test_insphere_catalan(poly):
553
553
)
554
554
555
555
# The insphere of a catalan solid should be rotation invariant.
556
- @settings (deadline = 1200 )
556
+ @settings (deadline = 5000 )
557
557
@given (Random3DRotationStrategy )
558
558
def check_rotation_invariance (quat ):
559
559
rotated_poly = ConvexPolyhedron (rowan .rotate (quat , poly .vertices ))
@@ -712,6 +712,12 @@ def test_form_factor(cube):
712
712
named_prismantiprism_mark ,
713
713
named_pyramiddipyramid_mark ,
714
714
)
715
+ @pytest .mark .xfail (
716
+ reason = (
717
+ "Numerical precision problems with miniball. "
718
+ "See https://github.com/glotzerlab/coxeter/issues/179"
719
+ )
720
+ )
715
721
def test_get_set_minimal_bounding_sphere_radius (poly ):
716
722
_test_get_set_minimal_bounding_sphere_radius (poly )
717
723
Original file line number Diff line number Diff line change 3
3
# This software is licensed under the BSD 3-Clause License.
4
4
import numpy as np
5
5
import pytest
6
- from hypothesis import given
6
+ from hypothesis import given , settings
7
7
from hypothesis .strategies import floats
8
8
from pytest import approx
9
9
@@ -33,6 +33,7 @@ def test_set_volume(value):
33
33
assert sphero_cube .volume == approx (value )
34
34
35
35
36
+ @settings (deadline = 1000 )
36
37
@given (radius = floats (0.1 , 1 ))
37
38
def test_surface_area (radius ):
38
39
sphero_cube = make_sphero_cube (radius = radius )
@@ -69,6 +70,7 @@ def test_invalid_radius(r):
69
70
make_sphero_cube (radius = r )
70
71
71
72
73
+ @settings (deadline = 1000 )
72
74
@given (r = floats (- 1000 , - 1 ))
73
75
def test_invalid_radius_setter (r ):
74
76
sphero_cube = make_sphero_cube (1 )
You can’t perform that action at this time.
0 commit comments