def test_longdouble(self):
    self._dll.tf_D.restype = c_longdouble
    self._dll.tf_D.argtypes = (c_longdouble,)
    self.assertEqual(self._dll.tf_D(42.0), 14.0)
    self.assertEqual(self.S(), 42)
def test_longdouble(self):
    self._dll.tf_D.restype = c_longdouble
    self._dll.tf_D.argtypes = (c_longdouble,)
    self.assertEqual(self._dll.tf_D(42.0), 14.0)
    self.assertEqual(self.S(), 42)