def test_ushort(self):
    self._dll.tf_H.restype = c_ushort
    self._dll.tf_H.argtypes = (c_ushort,)
    self.assertEqual(self._dll.tf_H(65535), 21845)
    self.assertEqual(self.U(), 65535)
def test_ushort(self):
    self._dll.tf_H.restype = c_ushort
    self._dll.tf_H.argtypes = (c_ushort,)
    self.assertEqual(self._dll.tf_H(65535), 21845)
    self.assertEqual(self.U(), 65535)