Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/i/pitivi-HEAD/tests/test_common.py   pitivi(Download)
    def test_pack_color_32(self):
        self.assertEquals(
            0x01020408,
            ui_common.pack_color_32(0x01FF, 0x02FF, 0x04FF, 0x08FF))
 
    def test_pack_color_64(self):
        self.assertEquals(
            0x01FF02FF04FF08FF,
    def test_unpack_color_32(self):
        self.assertEquals(
            (0x0100, 0x0200, 0x0400, 0x0800),
            ui_common.unpack_color_32(0x01020408))
 
    def test_unpack_color_64(self):
        self.assertEquals(
            (0x01FF, 0x02FF, 0x04FF, 0x08FF),