assertHits(new FunctionQuery(new NumDocsValueSource()),
new float[] { 2f, 2f });
}
public void testPow() throws Exception {
assertHits(new FunctionQuery(new PowFloatFunction(
new ConstValueSource(2f), new ConstValueSource(3f))),
new float[] { 8f, 8f });
}