File tree 1 file changed +9
-1
lines changed 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,20 @@ def test_marching_cubes_implementation():
38
38
# assert arrays.scalar_field_matrix.shape == (3, 8_000) # * 3 surfaces, 8000 points
39
39
40
40
marching_cubes .set_meshes_with_marching_cubes (model )
41
+
42
+ # Assert
43
+ assert model .solutions .block_solution_type == RawArraysSolution .BlockSolutionType .DENSE_GRID
44
+ assert model .solutions .dc_meshes is None
45
+ assert model .structural_frame .structural_groups [0 ].elements [0 ].vertices .shape == (600 , 3 )
46
+ assert model .structural_frame .structural_groups [1 ].elements [0 ].vertices .shape == (860 , 3 )
47
+ assert model .structural_frame .structural_groups [2 ].elements [0 ].vertices .shape == (1_256 , 3 )
48
+ assert model .structural_frame .structural_groups [2 ].elements [1 ].vertices .shape == (1_680 , 3 )
41
49
42
50
if PLOT :
43
51
gpv = require_gempy_viewer ()
44
52
gtv : gpv .GemPyToVista = gpv .plot_3d (
45
53
model = model ,
46
54
show_data = True ,
47
- image = False ,
55
+ image = True ,
48
56
show = True
49
57
)
You can’t perform that action at this time.
0 commit comments