public void Radius_SameTime_SameRadius() { var pcmc = new PotentialCoreMicroCluster <EuclideanPoint>(_fullCluster, _simFunc); var r1 = pcmc.Radius(_currentTime); var r2 = pcmc.Radius(_currentTime); Assert.That(r1, Is.EqualTo(r2)); }
public void Radius_PointsWithDifferentXY_SameRadius() { var c1 = new PotentialCoreMicroCluster <EuclideanPoint>(_singletonClusterZero, _simFunc); var c2 = new PotentialCoreMicroCluster <EuclideanPoint>(_singletonCluster500, _simFunc); Assert.That(c1.Radius(_currentTime), Is.EqualTo(c2.Radius(_currentTime))); }