'A repr of a heading with known variation reports its value and the
value of that variation.'

def test_headingWithVariationRepr(self):

    (angle, variation) = (1.0, (-10.0))
    heading = base.Heading.fromFloats(angle, variationValue=variation)
    reprTemplate = '<Heading    ({0}    degrees,    <Variation    ({1}    degrees)>)>'
    self.assertEqual(repr(heading), reprTemplate.format(angle, variation))
