def METHOD_NAME(self):
    line_a = Line2d(0, 0, 10, 0)
    pt = Vector2d(0, 0)
    self.assertTrue(line_a.collinear(pt))
    pt_line = Line2d(pt, pt)
    self.assertTrue(line_a.collinear(pt_line))
    pt.set(1000, 0)
    self.assertTrue(line_a.collinear(pt, 1e-10))
    pt_line = Line2d(pt, pt)
    self.assertTrue(line_a.parallel(pt_line))
    self.assertFalse(line_a.intersect(pt_line))
    self.assertFalse(line_a.collinear(pt_line, 1e-10))
    pt.set(10, 0)
    pt_line.set(pt, pt)
    self.assertTrue(line_a.collinear(pt_line, 1e-10))
    pt.set(0, 0.00001)
    self.assertFalse(line_a.collinear(pt))
    self.assertTrue(line_a.collinear(pt, 1e-3))
    pt_line = Line2d(pt, pt)
    self.assertFalse(line_a.collinear(pt_line))
    self.assertTrue(line_a.parallel(pt_line))
    self.assertFalse(line_a.intersect(pt_line))
    self.assertTrue(line_a.intersect(pt_line, 1e-2))
    self.assertTrue(line_a.collinear(pt_line, 1e-3))
    pt.set(0, -0.00001)
    self.assertFalse(line_a.collinear(pt))
    self.assertTrue(line_a.collinear(pt, 1e-3))
    pt_line = Line2d(pt, pt)
    self.assertFalse(line_a.collinear(pt_line))
    self.assertTrue(line_a.collinear(pt_line, 1e-4))