diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-06-16 13:58:49 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-06-16 13:58:49 +0000 |
commit | abb7352c70a96fce3c28b2e0b3a2f788f578da63 (patch) | |
tree | 34804bffdc8248df23d64a2dcff574912e09fc95 /TAO/tests/LongDouble | |
parent | 1730ffd526c233bf3aaa55f25dc39b1180fe7e92 (diff) | |
download | ATCD-abb7352c70a96fce3c28b2e0b3a2f788f578da63.tar.gz |
ChangeLogTag: Thu Jun 16 13:55:57 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tests/LongDouble')
-rw-r--r-- | TAO/tests/LongDouble/client.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/TAO/tests/LongDouble/client.cpp b/TAO/tests/LongDouble/client.cpp index 02fdbebed49..614ab5de181 100644 --- a/TAO/tests/LongDouble/client.cpp +++ b/TAO/tests/LongDouble/client.cpp @@ -59,22 +59,24 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) 1); } - CORBA::LongDouble ld = + CORBA::LongDouble ldl = longDoubleTest->get_long_double (); + long double ldh = + Global::get_long_double (); - if (ld == Global::get_long_double ()) - { - cout << "Received: " << ld << endl; - } - else + if (ldl > ldh || ldl < ldh) { ACE_ERROR ((LM_DEBUG, "Client did not receive " "expected CORBA::LongDouble\n")); - cerr << "Received: " << ld << " instead of " - << Global::get_long_double () << endl; + cerr << "Received: " << ldl << " instead of " + << ldh << endl; status = 1; } + else + { + cout << "Received: " << ldl << endl; + } longDoubleTest->shutdown (); |