int main (void) { setup_test_environment(); test_heartbeat_timeout(); test_heartbeat_ttl(); // Run this test without curve test_heartbeat_notimeout(0); // Then rerun it with curve test_heartbeat_notimeout(1); }
void test_heartbeat_timeout_router_mock_ping () { test_heartbeat_timeout (ZMQ_ROUTER, 1); }
void test_heartbeat_timeout_router () { test_heartbeat_timeout (ZMQ_ROUTER, 0); }