def test_map_3darray_input(): t = Topology() t.pointcloud = np.array([[[]]]) with pytest.raises(ValueError): t.map()
def test_map_none_input(): t = Topology() t.pointcloud = None with pytest.raises(Exception): t.map()