| 27 | }; |
| 28 | |
| 29 | TEST_F(OptionsNetCDFTest, ReadWriteInt) { |
| 30 | { |
| 31 | Options options; |
| 32 | options["test"] = 42; |
| 33 | |
| 34 | // Write the file |
| 35 | OptionsIO::create(filename)->write(options); |
| 36 | } |
| 37 | |
| 38 | // Read again |
| 39 | Options data = OptionsIO::create(filename)->read(); |
| 40 | |
| 41 | EXPECT_EQ(data["test"], 42); |
| 42 | } |
| 43 | |
| 44 | TEST_F(OptionsNetCDFTest, ReadWriteString) { |
| 45 | { |
nothing calls this directly
no test coverage detected