Exemplo n.º 1
0
def test_map_3darray_input():
    t = Topology()
    t.pointcloud = np.array([[[]]])
    with pytest.raises(ValueError):
        t.map()
Exemplo n.º 2
0
def test_map_none_input():
    t = Topology()
    t.pointcloud = None
    with pytest.raises(Exception):
        t.map()