(self, length)
| 78 | |
| 79 | @pytest.mark.parametrize("length", length_list) |
| 80 | def test_input(self, length): |
| 81 | fsuffix = {'(*)': 'star'}.get(length, length) |
| 82 | f = getattr(self.module, self.fprefix + '_input_' + fsuffix) |
| 83 | |
| 84 | a = {'1': 'a', '3': 'abc', 'star': 'abcde' * 3}[length] |
| 85 | |
| 86 | assert_array_equal(f(a), np.array(list(map(ord, a)), dtype='u1')) |
| 87 | |
| 88 | @pytest.mark.parametrize("length", length_list[:-1]) |
| 89 | def test_output(self, length): |
nothing calls this directly
no test coverage detected