| 164 | } |
| 165 | |
| 166 | string GetTurnString(CarDirection turn) |
| 167 | { |
| 168 | for (auto const & p : g_turnNames) |
| 169 | if (p.first == turn) |
| 170 | return p.second; |
| 171 | |
| 172 | ASSERT(false, (static_cast<int>(turn))); |
| 173 | return "unknown CarDirection"; |
| 174 | } |
| 175 | |
| 176 | bool IsLeftTurn(CarDirection t) |
| 177 | { |
no test coverage detected