MCPcopy Create free account
hub / github.com/PythonOT/POT / test_get_backend_list

Function test_get_backend_list

test/test_backend.py:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def test_get_backend_list():
19 lst = get_backend_list()
20
21 assert len(lst) > 0
22 assert isinstance(lst[0], ot.backend.NumpyBackend)
23
24
25def test_to_numpy(nx):

Callers

nothing calls this directly

Calls 1

get_backend_listFunction · 0.90

Tested by

no test coverage detected