TODO: 完成判断ID合法
| 80 | |
| 81 | // TODO: 完成判断ID合法 |
| 82 | bool Fish::is_valid_fish_id(int id){ |
| 83 | if (id < 1 || id > 12) return false; |
| 84 | else return true; |
| 85 | } |
| 86 | |
| 87 | int Fish::update_timestamp(){ |
| 88 | ally->timestamp ++; |
nothing calls this directly
no outgoing calls
no test coverage detected