def test_double(self):
    self._dll.tf_d.restype = c_double
    self._dll.tf_d.argtypes = (c_double,)
    self.assertEqual(self._dll.tf_d(42.0), 14.0)
    self.assertEqual(self.S(), 42)
def test_double(self):
    self._dll.tf_d.restype = c_double
    self._dll.tf_d.argtypes = (c_double,)
    self.assertEqual(self._dll.tf_d(42.0), 14.0)
    self.assertEqual(self.S(), 42)