push
github
0 of 8 new or added lines in 1 file covered. (0.0%)
14620 of 33060 relevant lines covered (44.22%)
281.99 hits per line
| 1 |
#include "autopilot.h" |
|
| 2 |
|
|
| 3 |
namespace mavsdk {
|
|
| 4 |
|
|
|
NEW
|
std::ostream& operator<<(std::ostream& str, const Autopilot& autopilot) |
× |
| 6 |
{
|
|
|
NEW
|
switch (autopilot) {
|
× |
|
NEW
|
case Autopilot::Px4:
|
× |
|
NEW
|
return str << "Px4"; |
× |
|
NEW
|
case Autopilot::ArduPilot:
|
× |
|
NEW
|
return str << "ArduPilot"; |
× |
|
NEW
|
default:
|
× |
|
NEW
|
return str << "Unknown"; |
× |
| 14 |
} |
|
| 15 |
} |
|
| 16 |
|
|
| 17 |
} // namespace mavsdk
|