(text_num: str, text_unit: Optional[str])
| 39 | |
| 40 | |
| 41 | def parse_value(text_num: str, text_unit: Optional[str]) -> float: |
| 42 | return float(text_num) * unit_factor(text_unit or "") |
| 43 | |
| 44 | |
| 45 | def parse_cond(cond: str) -> Tuple[str, float, str]: |
no test coverage detected