diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2003-04-09 17:14:24 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2003-04-09 17:14:24 +0000 |
commit | b6f30a7aac5793854b319e7a824787d10d48d29d (patch) | |
tree | f185d49769c4f16ec10d4a446672d3f2e20fedd6 /tests | |
parent | 3f2c5466c98296f743b01ad6245ec8ca1dad53cc (diff) | |
download | ATCD-b6f30a7aac5793854b319e7a824787d10d48d29d.tar.gz |
ChangeLogTag: Wed Apr 09 19:13:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Time_Value_Test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp index 212eb7e95c1..19626ded276 100644 --- a/tests/Time_Value_Test.cpp +++ b/tests/Time_Value_Test.cpp @@ -197,6 +197,10 @@ ACE_TMAIN (int, ACE_TCHAR *[]) // actually warn about it without the case. ACE_Time_Value tv8 (ACE_static_cast (long, 2.5)); + // Test assignment operator, tv9 and tv6 must be the same after this + ACE_Time_Value tv9; + tv9 = tv6; + ACE_ASSERT (tv1 == ACE_Time_Value (0)); ACE_ASSERT (tv2 < tv3); ACE_ASSERT (tv2 <= tv2); @@ -209,6 +213,7 @@ ACE_TMAIN (int, ACE_TCHAR *[]) ACE_ASSERT (tv6 == tv1); ACE_ASSERT (tv5 == tv7); ACE_ASSERT (tv7 == tv8); // That's right! See above . . . + ACE_ASSERT (tv9 == tv6); #if defined (sun) && !defined (ACE_LACKS_LONGLONG_T) if (test_ace_u_longlong () != 0) |