| 80 | } |
| 81 | |
| 82 | bool ChessBoard::sameColor(int moveId,int killId) |
| 83 | { |
| 84 | if(moveId== -1 || killId== -1) |
| 85 | return false; |
| 86 | |
| 87 | return isRed(moveId)== isRed(killId); |
| 88 | } |
| 89 | |
| 90 | bool ChessBoard::isDead(int id) |
| 91 | { |
nothing calls this directly
no outgoing calls
no test coverage detected