mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-04 19:44:23 +08:00
* replace * blabla * balbla * blabla Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
14 lines
260 B
C++
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);
|
|
};
|