| 44 | }; |
| 45 | |
| 46 | TEST(PortTest, WrongNodeConfig) |
| 47 | { |
| 48 | NodeConfig config; |
| 49 | config.input_ports["in_port_A"] = "42"; |
| 50 | // intentionally missing: |
| 51 | // config.input_ports["in_port_B"] = "69"; |
| 52 | NodeWithPorts node("will_fail", config); |
| 53 | ASSERT_ANY_THROW(node.tick()); |
| 54 | } |
| 55 | |
| 56 | TEST(PortTest, DefaultPorts) |
| 57 | { |
nothing calls this directly
no test coverage detected