| 18 | } |
| 19 | |
| 20 | std::expected<float, test_exports::E> test_exports::EnumError(float a) { |
| 21 | if (a==0.0) { |
| 22 | return std::unexpected(test_exports::E::kA); |
| 23 | } |
| 24 | else { |
| 25 | return a; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | std::expected<float, test_exports::E2> test_exports::RecordError(float a) { |
| 30 | if (a==0.0) { |
no test coverage detected