14 #include "eckit/testing/Test.h"
16 using namespace eckit::testing;
22 std::string expectedResult =
"";
24 EXPECT_EQUAL(result, expectedResult);
27 CASE(
"input: ioda-v1 variable name") {
28 std::string expectedResult =
"ObsValue/air_temperature";
30 EXPECT_EQUAL(result, expectedResult);
33 CASE(
"input: ioda-v2 variable name") {
34 std::string expectedResult =
"ObsValue/air_temperature";
37 EXPECT_EQUAL(result, expectedResult);
40 CASE(
"input: variable name without group") {
41 std::string expectedResult =
"air_temperature";
43 EXPECT_EQUAL(result, expectedResult);
49 int main(
int argc,
char** argv) {
50 return run_tests(argc, argv);
IODA_DL std::string convertV1PathToV2Path(const std::string &path)
Split path into substrings separated by @ characters, then concatenate them in reverse order,...
int main(int argc, char **argv)