Get the regex pattern to match the coding rate. Return: The regex pattern.
(self)
| 207 | return re.compile('^(?!x)x$') |
| 208 | |
| 209 | def get_coding_rate_pattern(self) -> re.Pattern: |
| 210 | ''' |
| 211 | Get the regex pattern to match the coding rate. |
| 212 | |
| 213 | Return: |
| 214 | The regex pattern. |
| 215 | ''' |
| 216 | # pylint: disable=unused-argument,redundant-returns-doc |
| 217 | assert False, 'Missing subclass implementation' |
| 218 | return re.compile('^(?!x)x$') |
| 219 | |
| 220 | def run_test(self, image: TestImage, block_size: str, preset: str, |
| 221 | repeats: int, keep_output: bool = True, |