Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/a/palpy-1.0/test_pal.py   palpy(Download)
    def test_cd2tf(self):
        ( sign, hours, minutes, seconds, fraction ) = pal.dd2tf( 4, -0.987654321 )
        self.assertEqual( sign, "-" )
        self.assertEqual( hours, 23 )
        self.assertEqual( minutes, 42 )