code: def test_distance(self, device, dtype):
      p0 = torch.tensor([0.0, 0.0], device=device, dtype=dtype)
      p1 = torch.tensor([1.0, 0.0], device=device, dtype=dtype)
      l1 = ParametrizedLine.through(p0, p1)
      point = torch.tensor([1.0, 4.0], device=device, dtype=dtype)
      distance_expected = torch.tensor(4.0, device=device, dtype=dtype)
      self.assert_close(l1.distance(point), distance_expected)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  from kornia.geometry.line import ParametrizedLine, fit_line
  from kornia.geometry.plane import Hyperplane
  from kornia.testing import BaseTester, assert_close
label_desc: Use image node_id 7 for calling the TestParametrizedLine obj's underlying member method code with example usage: obj.test_distance(device, dtype) without return types