コード例 #1
0
 def test02(self):
     const = 123765
     x_pmt = pmt.from_double(const)
     x_int = pmt.to_double(x_pmt)
     self.assertEqual(x_int, const)
コード例 #2
0
ファイル: qa_pmt.py プロジェクト: Gabotero/GNURadioNext
 def test02(self):
     const = 123765
     x_pmt = pmt.from_double(const)
     x_int = pmt.to_double(x_pmt)
     self.assertEqual(x_int, const)
コード例 #3
0
 def test01(self):
     a = pmt.intern("a")
     b = pmt.from_double(123765)
     d1 = pmt.make_dict()
     d2 = pmt.dict_add(d1, a, b)
     print d2
コード例 #4
0
ファイル: qa_pmt.py プロジェクト: Gabotero/GNURadioNext
 def test01(self):
     a = pmt.intern("a")
     b = pmt.from_double(123765)
     d1 = pmt.make_dict()
     d2 = pmt.dict_add(d1, a, b)
     print d2