Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Apr 17, 2024
1 parent 814571b commit fb03381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion analytical_engine/apps/clustering/clustering.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ limitations under the License.
#ifndef ANALYTICAL_ENGINE_APPS_CLUSTERING_CLUSTERING_H_
#define ANALYTICAL_ENGINE_APPS_CLUSTERING_CLUSTERING_H_

#include <iostream>
#include <unordered_map>
#include <utility>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions python/graphscope/nx/tests/test_ctx_builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ def test_hits(self):
def test_clustering(self):
ans = nx.builtin.clustering(self.p2p)
self.assert_result_almost_equal(ans, self.p2p_clus_ans)

def test_clustering_undirected(self):
# test undirected graph
G = nx.Graph()
G.add_nodes_from([1, 2, 3])
Expand Down

0 comments on commit fb03381

Please sign in to comment.