github
47 of 158 new or added lines in 19 files covered. (29.75%)
21 existing lines in 9 files now uncovered.17769 of 37006 relevant lines covered (48.02%)
483.39 hits per line
| 1 |
#include "compatibility_mode.h" |
|
| 2 |
|
|
| 3 |
namespace mavsdk {
|
|
| 4 |
|
|
|
NEW
|
std::ostream& operator<<(std::ostream& os, const CompatibilityMode& mode) |
× |
| 6 |
{
|
|
|
NEW
|
switch (mode) {
|
× |
|
NEW
|
case CompatibilityMode::Auto:
|
× |
|
NEW
|
return os << "Auto"; |
× |
|
NEW
|
case CompatibilityMode::Pure:
|
× |
|
NEW
|
return os << "Pure"; |
× |
|
NEW
|
case CompatibilityMode::Px4:
|
× |
|
NEW
|
return os << "Px4"; |
× |
|
NEW
|
case CompatibilityMode::ArduPilot:
|
× |
|
NEW
|
return os << "ArduPilot"; |
× |
|
NEW
|
default:
|
× |
|
NEW
|
return os << "Unknown"; |
× |
| 18 |
} |
|
| 19 |
} |
|
| 20 |
|
|
| 21 |
} // namespace mavsdk
|