diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -75,7 +75,6 @@ function complete(n) {
     for (j = i + 1; j < n; ++j) {
       if (i !== j) {
         g.addLink(i, j);
-        g.addLink(j, i);
       }
     }
   }
diff --git a/test/create.js b/test/create.js
index <HASH>..<HASH> 100644
--- a/test/create.js
+++ b/test/create.js
@@ -27,7 +27,7 @@ test('Create complete', function(t) {
   var graph = generators.complete(size);
   // Complete graph has all nodes connected with each other.
   t.equal(graph.getNodesCount(), size, "Unexpected number of nodes for complete graph");
-  t.equal(graph.getLinksCount(), (size * (size - 1)), "Unexpected number of links for complete graph");
+  t.equal(graph.getLinksCount(), (size * (size - 1)/2), "Unexpected number of links for complete graph");
   t.end();
 });
Removed extra link creation for complete graphs