Added doctest for examples in the library reference. Added random test from bisect to augment the finite precomputed checks.
Added doctest for examples in the library reference.
Added random test from bisect to augment the finite precomputed checks.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator