'Setting a bogus sign value (not -1 or 1) on a coordinate raises
C{ValueError} and doesn\'t affect the coordinate.'

def test_badVariationSign(self):

    value = 50.0
    c = base.Coordinate(value, Angles.LATITUDE)
    self.assertRaises(ValueError, c.setSign, (-50))
    self.assertEqual(c.inDecimalDegrees, 50.0)
    self.assertRaises(ValueError, c.setSign, 0)
    self.assertEqual(c.inDecimalDegrees, 50.0)
    self.assertRaises(ValueError, c.setSign, 50)
    self.assertEqual(c.inDecimalDegrees, 50.0)
