(self)
| 65 | print(f"{char} {target} was not in known locations") |
| 66 | |
| 67 | def stat(self) -> Tuple[Point, str, int, str]: |
| 68 | reply = self.send("STAT") |
| 69 | parts = reply.split(" ") |
| 70 | cx = int(parts[1]) |
| 71 | cy = int(parts[2]) |
| 72 | facing = parts[3] |
| 73 | battery = int(parts[4].strip("%")) |
| 74 | payload = parts[5] |
| 75 | self.location = Point(cx, cy) |
| 76 | self.facing = Direction(facing) |
| 77 | return (self.location, facing, battery, payload) |
| 78 | |
| 79 | |
| 80 | def scan(self) -> Tuple[str, str, str]: |
no test coverage detected