(dtype)
| 150 | |
| 151 | @pytest.mark.parametrize("dtype", [np.float32, np.float64]) |
| 152 | def test_empty_tree(dtype): |
| 153 | mesh = create_unit_interval(MPI.COMM_WORLD, 16, dtype=dtype) |
| 154 | bbtree = bb_tree(mesh, mesh.topology.dim, padding=0.0, entities=np.empty(0, dtype=dtype)) |
| 155 | assert bbtree.num_bboxes == 0 |
| 156 | |
| 157 | |
| 158 | @pytest.mark.skip_in_parallel |
nothing calls this directly
no test coverage detected