summaryrefslogtreecommitdiff
path: root/tests/CDR/alignment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CDR/alignment.cpp')
-rw-r--r--tests/CDR/alignment.cpp35
1 files changed, 16 insertions, 19 deletions
diff --git a/tests/CDR/alignment.cpp b/tests/CDR/alignment.cpp
index 4f77c1cf601..bd4b8574737 100644
--- a/tests/CDR/alignment.cpp
+++ b/tests/CDR/alignment.cpp
@@ -1,21 +1,18 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/CDR
-//
-// = FILENAME
-// alignment.cpp
-//
-// = DESCRIPTION
-// Verifies that octet sequence marshaling does not affect
-// marshaling.
-//
-// = AUTHORS
-// Carlos O'Ryan (coryan@cs.wustl.edu)
-//
-// ============================================================================
+
+//=============================================================================
+/**
+ * @file alignment.cpp
+ *
+ * $Id$
+ *
+ * Verifies that octet sequence marshaling does not affect
+ * marshaling.
+ *
+ *
+ * @author Carlos O'Ryan (coryan@cs.wustl.edu)
+ */
+//=============================================================================
+
#include "tao/CDR.h"
@@ -62,7 +59,7 @@ int ACE_TMAIN (int, ACE_TCHAR *[])
if (input.read_double (read_dbl) == 0)
ACE_DEBUG ((LM_DEBUG, "Failure reading double...\n"));
- if (read_dbl != dbl)
+ if (!ACE::is_equal (read_dbl, dbl))
{
status = 1;
ACE_DEBUG ((LM_DEBUG,