public void GetClosestTest() { List <NodeId> nodes; TestHelper.ManyNodes(out _table, out nodes); var closest = _table.GetClosest(_table.LocalNode.Id); Assert.AreEqual(8, closest.Count, "#1"); for (var i = 0; i < 8; i++) { Assert.IsTrue(closest.Exists(node => nodes[i].Equals(closest[i].Id))); } }