()
| 56 | |
| 57 | |
| 58 | def test_force_align(): |
| 59 | mat = np.random.rand(4, 3) |
| 60 | df = pd.DataFrame(np.random.rand(4, 3)) |
| 61 | text = ['here is some test text', 'and a little more', 'and more', 'just a bit more'] |
| 62 | res = format_data([mat, df, text]) |
| 63 | assert isinstance(res, list) |
| 64 | assert all(map(lambda x: isinstance(x, np.ndarray), res)) |
| 65 | assert all(map(lambda x: x.shape[1] == 50, res)) |
nothing calls this directly
no test coverage detected