code: def test_solar_position(dt, true_lat, true_lon):
      lat, lon = _solar_position(dt)
      assert pytest.approx(true_lat, 0.1) == lat
      assert pytest.approx(true_lon, 0.1) == lon
  
imports: from datetime import datetime
  import pytest
  from cartopy.feature.nightshade import Nightshade, _julian_day, _solar_position
label_desc: Use image node_id 2 for calling a global function with example usage: test_solar_position(dt, true_lat, true_lon) without return types