Files
dgl/tests/cpp/graph_index_test.cc
Hongzhi (Steve), Chen bcd3768426 [Misc] Replace /*! with /**. (#4823)
* replace

* blabla

* balbla

* blabla

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-11-07 08:16:41 +08:00

14 lines
260 B
C++

/**
* Copyright (c) 2019 by Contributors
* @file graph_index_test.cc
* @brief Test GraphIndex
*/
#include <dgl/graph.h>
#include <gtest/gtest.h>
TEST(GraphTest, TestNumVertices) {
dgl::Graph g;
g.AddVertices(10);
ASSERT_EQ(g.NumVertices(), 10);
};