diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-12 01:39:27 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-12 01:39:27 +0000 |
commit | 9605b0842163bb1b7839793f1251406ba1deac23 (patch) | |
tree | 0dbf065c527367572a05337b68878e369098b7c7 /tests/Time_Value_Test.cpp | |
parent | 795c99a9a2eecff871b4cef86a40382d25a3afb5 (diff) | |
download | ATCD-java-1_0_0a.tar.gz |
This commit was manufactured by cvs2svn to create tag 'java-1_0_0a'.java-1_0_0a
Diffstat (limited to 'tests/Time_Value_Test.cpp')
-rw-r--r-- | tests/Time_Value_Test.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp deleted file mode 100644 index 7ee034e7c5d..00000000000 --- a/tests/Time_Value_Test.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// ============================================================================ -// $Id$ - -// -// = LIBRARY -// tests -// -// = FILENAME -// Time_Value_Test.cpp -// -// = DESCRIPTION -// This is a simple test of ACE_Time_Value. No command line -// arguments are needed to run the test. -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ - -#include "ace/ACE.h" -#include "ace/Log_Msg.h" -#include "test_config.h" - -int -main (int argc, char *argv[]) -{ - ACE_START_TEST; - - ACE_Time_Value tv1; - ACE_Time_Value tv2 (2); - ACE_Time_Value tv3 (100); - ACE_Time_Value tv4 (1, 1000000); - ACE_Time_Value tv5 (2); - ACE_Time_Value tv6 (1, -1000000); - - ACE_ASSERT (tv1 == ACE_Time_Value (0)); - ACE_ASSERT (tv2 < tv3); - ACE_ASSERT (tv2 <= tv2); - ACE_ASSERT (tv2 >= tv4); - ACE_ASSERT (tv5 >= tv6); - ACE_ASSERT (tv2 == ACE_Time_Value (1, 1000000)); - ACE_ASSERT (tv5 == tv4); - ACE_ASSERT (tv2 == tv4); - ACE_ASSERT (tv1 != tv2); - ACE_ASSERT (tv6 == tv1); - - ACE_END_TEST; - return 0; -} |