public void Radius_SameTime_SameRadius() { var pcmc = new OutlierCoreMicroCluster <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 OutlierCoreMicroCluster <EuclideanPoint>(_singletonClusterZero, _simFunc); var c2 = new OutlierCoreMicroCluster <EuclideanPoint>(_singletonCluster500, _simFunc); Assert.That(c1.Radius(_currentTime), Is.EqualTo(c2.Radius(_currentTime))); }