Polynoms representing an exactly horizontal line have degrees < 1:
for f(x) = n with n != 0, degree is 0
for f(x) = 0 degree is -1
The test_colinearity function incorrectly reported points on such
polynoms as not being part of the same line. This is fixed by adjusting
the test to account for the cases with degrees < 1.
Polynoms representing an exactly horizontal line have degrees < 1:
The
test_colinearity
function incorrectly reported points on such polynoms as not being part of the same line. This is fixed by adjusting the test to account for the cases with degrees < 1.