| 43 | ******************************************************************************/ |
| 44 | |
| 45 | TEST_F(InteractiveHtmlBomTest, testViewModeSerialization) { |
| 46 | for (auto x : { |
| 47 | InteractiveHtmlBom::ViewMode::BomOnly, |
| 48 | InteractiveHtmlBom::ViewMode::LeftRight, |
| 49 | InteractiveHtmlBom::ViewMode::TopBottom, |
| 50 | }) { |
| 51 | const auto node = serialize(x); |
| 52 | const auto value = deserialize<InteractiveHtmlBom::ViewMode>(*node); |
| 53 | EXPECT_EQ(x, value); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | TEST_F(InteractiveHtmlBomTest, testHighlightPin1ModeSerialization) { |
| 58 | for (auto x : { |
nothing calls this directly
no test coverage detected