chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 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);
|
||||
};
|
||||
Reference in New Issue
Block a user