def METHOD_NAME(self):
    # Line is always collinear with itself
    line = Line2d(0, 0, 10, 0)
    self.assertTrue(line.collinear(line, 1e-10))
    line_a = Line2d(0, 0, 10, 0)
    line_b = Line2d(0, 0, 10, 0)
    self.assertTrue(line_a.collinear(line_b, 1e-10))
    line_b.set(0, 10, 10, 10)
    self.assertFalse(line_a.collinear(line_b))
    line_b.set(9, 0, 10, 0.00001)
    self.assertFalse(line_a.collinear(line_b, 1e-10))
    self.assertFalse(line_a.collinear(line_b))
    self.assertTrue(line_a.collinear(line_b, 1e-3))