def test12(self): v = pmt.pmt_init_c64vector(3, [11 + -101j, -22 + 202j, 33 + -303j]) s = pmt.pmt_serialize_str(v) d = pmt.pmt_deserialize_str(s) self.assertTrue(pmt.pmt_equal(v, d))
def test10(self): v = pmt.pmt_init_s32vector(3, [11, -22, 33]) s = pmt.pmt_serialize_str(v) d = pmt.pmt_deserialize_str(s) self.assertTrue(pmt.pmt_equal(v, d))