检查挑战的层数, 并选中挑战的层 :return:
(self, layer: str)
| 81 | continue |
| 82 | |
| 83 | def check_layer(self, layer: str) -> bool: |
| 84 | """ |
| 85 | 检查挑战的层数, 并选中挑战的层 |
| 86 | :return: |
| 87 | """ |
| 88 | pos = self.list_find(self.L_LAYER_LIST, layer) |
| 89 | if pos: |
| 90 | self.device.click(x=pos[0], y=pos[1]) |
| 91 | return True |
| 92 | |
| 93 | def check_lock(self, lock: bool = True) -> bool: |
| 94 | """ |
no test coverage detected