code: def test_vreckon_unit(deg, lat, lon, srange, az, lato, lono):
      if not deg:
          lat, lon, az, lato, lono = map(
              radians, (lat, lon, az, lato, lono)
          )
  
      lat1, lon1 = vincenty.vreckon(lat, lon, srange, az, deg=deg)
  
      assert lat1 == approx(lato)
      assert isinstance(lat1, float)
  
      assert lon1 == approx(lono, rel=0.001)
      assert isinstance(lon1, float)
  
imports: from math import radians
  import pymap3d.vincenty
  import pytest
  from pytest import approx
label_desc: Use image node_id 1 for calling a global function with example usage: test_vreckon_unit(deg, lat, lon, srange, az, lato, lono) without return types