Skip to content

Commit

Permalink
Add error message
Browse files Browse the repository at this point in the history
  • Loading branch information
TaekyungHeo committed Jul 1, 2024
1 parent 59dcda7 commit fe9803c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/feeder/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ TEST_F(ETFeederTest, ConstructorNodeValuesTest) {
std::shared_ptr<Chakra::ETFeederNode> node = trace->getNextIssuableNode();
ChakraProtoMsg::NodeType firstNodeType = node->type();
ASSERT_EQ(firstNodeType, ChakraProtoMsg::COMP_NODE);
cout << node->name() << endl;
ASSERT_TRUE(node->is_cpu_op());

std::string attr = "rf_id";
ChakraProtoMsg::AttributeProto rf_id = node->get_other_attr(attr);
ASSERT_EQ(rf_id.int64_val(), 2);

node = trace->getNextIssuableNode();
cout << node->name() << endl;
uint64_t secondNodeType = node->type();
ASSERT_EQ(secondNodeType, ChakraProtoMsg::COMM_COLL_NODE);
ASSERT_TRUE(node->is_cpu_op());
Expand Down

0 comments on commit fe9803c

Please sign in to comment.