text: # Licensed under a 3-clause BSD style license - see LICENSE.rst
  from astropy.units import Quantity
  from gammapy.utils.coordinates import galactic
  
  
  def test_galactic():
      x = Quantity(0, "kpc")
      y = Quantity(0, "kpc")
      z = Quantity(0, "kpc")
      reference = (Quantity(8.5, "kpc"), Quantity(0, "deg"), Quantity(0, "deg"))
      assert galactic(x, y, z) == reference
  