"""portcv 单元测试(只用标准库 ``unittest``,无需 pytest / 硬件 / 模型)。 运行方式(在项目根目录):: python -m unittest discover -s tests -t . -v """