File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66from fury .actor import Actor , Image as ActorImage , Text
77from fury .actor .core import actor_from_primitive
88from fury .actor .tests ._helpers import validate_actors
9- from fury .primitive import prim_sphere
109
1110
1211def test_actor_rotate_sets_quaternion_on_local_rotation (sphere_actor ):
@@ -227,7 +226,8 @@ def test_actor_from_primitive_transparency(sphere_prim):
227226 np .testing .assert_allclose (obj .geometry .colors .data [:, 3 ], 0.25 , atol = 0.01 )
228227 assert obj .material .alpha_mode == "weighted_blend"
229228 assert obj .material .depth_write is False
230-
229+
230+
231231def test_actor_from_primitive_transparency_visual (sphere_prim ):
232232 vertices , faces = sphere_prim
233233 centers = np .array ([[0 , 0 , 0 ]], dtype = np .float32 )
@@ -255,7 +255,7 @@ def test_actor_from_primitive_transparency_visual(sphere_prim):
255255 img_array_tr .reshape (- 1 , img_array_tr .shape [2 ]), axis = 0
256256 )
257257 assert mean_r_tr > 0
258-
258+
259259 mean_r_op , mean_g_op , mean_b_op , _ = np .mean (
260260 img_array_op .reshape (- 1 , img_array_op .shape [2 ]), axis = 0
261261 )
You can’t perform that action at this time.
0 commit comments