summaryrefslogtreecommitdiff
path: root/tests/Param_Test/anyop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Param_Test/anyop.cpp')
-rw-r--r--tests/Param_Test/anyop.cpp42
1 files changed, 16 insertions, 26 deletions
diff --git a/tests/Param_Test/anyop.cpp b/tests/Param_Test/anyop.cpp
index 04e391c457d..006d174f24e 100644
--- a/tests/Param_Test/anyop.cpp
+++ b/tests/Param_Test/anyop.cpp
@@ -1,19 +1,14 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Param_Test
-//
-// = FILENAME
-// anyop.cpp
-//
-// = DESCRIPTION
-//
-// = AUTHORS
-// Carlos O'Ryan
-//
-// ============================================================================
+
+//=============================================================================
+/**
+ * @file anyop.cpp
+ *
+ * $Id$
+ *
+ * @author Carlos O'Ryan
+ */
+//=============================================================================
+
#include "param_testC.h"
@@ -27,10 +22,6 @@
#include "ace/Get_Opt.h"
-ACE_RCSID (Param_Test,
- anyop,
- "$Id$")
-
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
@@ -190,8 +181,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
CORBA::Double o;
- if (!(any >>= o)
- || i != o)
+ if (!(any >>= o) || !ACE::is_equal (i, o))
{
ACE_DEBUG ((LM_DEBUG,
"Failure for CORBA::Double (%f,%f)\n",
@@ -272,9 +262,9 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
|| o->c != i->c
|| o->s != i->s
|| o->o != i->o
- || o->f != i->f
+ || !ACE::is_equal (o->f, i->f)
|| o->b != i->b
- || o->d != i->d)
+ || !ACE::is_equal (o->d, i->d))
{
ACE_DEBUG ((LM_DEBUG,
"Failure for Fixed_Struct "
@@ -288,9 +278,9 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
|| o->c != i->c
|| o->s != i->s
|| o->o != i->o
- || o->f != i->f
+ || !ACE::is_equal (o->f, i->f)
|| o->b != i->b
- || o->d != i->d)
+ || !ACE::is_equal (o->d, i->d))
{
ACE_DEBUG ((LM_DEBUG,
"Failure for Fixed_Struct "