def test_simple(self):
        """
        Tests that a simple heading has a value in decimal degrees, which is
        also its value when converted to a float. Its variation, and by
        consequence its corrected heading, is L{None}.
        """
        h = base.Heading(1.)
        self.assertEqual(h.inDecimalDegrees, 1.)
        self.assertEqual(float(h), 1.)
        self.assertIsNone(h.variation)
        self.assertIsNone(h.correctedHeading)

        Tests that a simple heading has a value in decimal degrees, which is
        also its value when converted to a float. Its variation, and by
        consequence its corrected heading, is L{None}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py