public virtual void TestRecipScore()
{
IPoint p100 = ctx.MakePoint(2, 1);
adoc("100", p100);
IPoint p101 = ctx.MakePoint(-1, 4);
adoc("101", p101);
adoc("103", (IShape)null);//test score for nothing
adoc("999", ctx.MakePoint(2, 1));//test deleted
Commit();
DeleteDoc("999");
Commit();
double dist = ctx.DistCalc.Distance(p100, p101);
IShape queryShape = ctx.MakeCircle(2.01, 0.99, dist);
CheckValueSource(strategy.MakeRecipDistanceValueSource(queryShape),
new float[] { 1.00f, 0.10f, 0f }, 0.09f);
}