Test functions are used by a generator to detect special
points on a curve. The generator monitors the values
of test functions along the curve and locates their zeros. It marks a point as
a special one if certain conditions are true at that point. A typical
condition is a zero value of a test function at the point. Nomenclature of test
functions and types of special points which can be detected depend on a curve
type.