コード例 #1
0
 def test_getters(self):
     val = 42
     zid = ZipkinId(val)
     self.assertEqual(zid.get_binary(), val)
     self.assertEqual(zid.get_hex(), '000000000000002a')