Tests that FIFOManager correctly returns the current node with only 1 node.
| 68 | |
| 69 | // Tests that FIFOManager correctly returns the current node with only 1 node. |
| 70 | TEST_F(ReadyNodeManagerTest, GetSingleNodeFIFOManager) { |
| 71 | FIFOManager manager = FIFOManager(); |
| 72 | manager.AddNode(&node1_); |
| 73 | EXPECT_EQ(manager.GetCurrNode()->name(), "Node1"); |
| 74 | } |
| 75 | |
| 76 | // Tests that FIFOManager removes the only node contained within. |
| 77 | TEST_F(ReadyNodeManagerTest, RemoveSingleNodeFIFOManager) { |
nothing calls this directly
no test coverage detected