Пример #1
0
def test_map_3darray_input():
    t = Topology()
    t.pointcloud = np.array([[[]]])
    with pytest.raises(ValueError):
        t.map()
Пример #2
0
def test_map_none_input():
    t = Topology()
    t.pointcloud = None
    with pytest.raises(Exception):
        t.map()