检查挑战的层数, 并选中挑战的层 :return:
(self, layer: str)
| 74 | continue |
| 75 | |
| 76 | def check_layer(self, layer: str) -> bool: |
| 77 | """ |
| 78 | 检查挑战的层数, 并选中挑战的层 |
| 79 | :return: |
| 80 | """ |
| 81 | pos = self.list_find(self.L_LAYER_LIST, layer) |
| 82 | if pos: |
| 83 | self.device.click(x=pos[0], y=pos[1]) |
| 84 | return True |
| 85 | |
| 86 | def check_lock(self, lock: bool = True) -> bool: |
| 87 | """ |
no test coverage detected