MCPcopy
hub / github.com/ContextLab/hypertools / test_text

Function test_text

tests/test_format_data.py:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_text():
23 data = ['here is some test text', 'and a little more', 'and more']
24 assert isinstance(format_data(data), list)
25 assert isinstance(format_data(data)[0], np.ndarray)
26
27
28def test_str():

Callers

nothing calls this directly

Calls 1

format_dataFunction · 0.90

Tested by

no test coverage detected