MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST_F

Function TEST_F

tensorflow/core/grappler/costs/virtual_scheduler_test.cc:70–74  ·  view source on GitHub ↗

Tests that FIFOManager correctly returns the current node with only 1 node.

Source from the content-addressed store, hash-verified

68
69// Tests that FIFOManager correctly returns the current node with only 1 node.
70TEST_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.
77TEST_F(ReadyNodeManagerTest, RemoveSingleNodeFIFOManager) {

Callers

nothing calls this directly

Calls 15

FIFOManagerClass · 0.85
LIFOManagerClass · 0.85
CalculateOutputSizeFunction · 0.85
SummaryMethod · 0.80
asMicroSecondsMethod · 0.80
outputs_sizeMethod · 0.80
inputs_sizeMethod · 0.80
GetDeviceStatesMethod · 0.80
GetNodeStatesMethod · 0.80
nameMethod · 0.65
outputMethod · 0.65

Tested by

no test coverage detected