IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2005, 12:02:28 PM (21 years ago)
Author:
evanalst
Message:

Updates to time functions for SDR-14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/verified/tst_psTime_01.stdout

    r3712 r4059  
    1 /***************************** TESTPOINT ******************************************\
    2 *             TestFile: tst_psTime_01.c                                            *
    3 *            TestPoint: psTime{Get current TAI time}                               *
    4 *             TestType: Positive                                                   *
    5 \**********************************************************************************/
    6 
    7 
    8 ---> TESTPOINT PASSED (psTime{Get current TAI time} | tst_psTime_01.c)
    9 
    10 /***************************** TESTPOINT ******************************************\
    11 *             TestFile: tst_psTime_01.c                                            *
    12 *            TestPoint: psTime{Print test time}                                    *
    13 *             TestType: Positive                                                   *
    14 \**********************************************************************************/
    15 
    16 Test time: Seconds = 1090434144 Nanoseconds = 272044000
    17 
    18 ---> TESTPOINT PASSED (psTime{Print test time} | tst_psTime_01.c)
    19 
    20 /***************************** TESTPOINT ******************************************\
    21 *             TestFile: tst_psTime_01.c                                            *
    22 *            TestPoint: psTime{Convert psTime to ISO time}                         *
    23 *             TestType: Positive                                                   *
    24 \**********************************************************************************/
    25 
    26 2004-07-21T<DATE>.272Z
    27 
    28 ---> TESTPOINT PASSED (psTime{Convert psTime to ISO time} | tst_psTime_01.c)
    29 
    30 /***************************** TESTPOINT ******************************************\
    31 *             TestFile: tst_psTime_01.c                                            *
    32 *            TestPoint: psTime{Convert ISO time to psTime}                         *
    33 *             TestType: Positive                                                   *
    34 \**********************************************************************************/
    35 
    36 psTime: Seconds = 1090434144 Nanoseconds = 272000000
    37 
    38 ---> TESTPOINT PASSED (psTime{Convert ISO time to psTime} | tst_psTime_01.c)
    39 
    40 /***************************** TESTPOINT ******************************************\
    41 *             TestFile: tst_psTime_01.c                                            *
    42 *            TestPoint: psTime{Convert psTime time to UTC time}                    *
    43 *             TestType: Positive                                                   *
    44 \**********************************************************************************/
    45 
    46 psTime: Seconds = 1090434112 Nanoseconds = 272044000
    47 
    48 ---> TESTPOINT PASSED (psTime{Convert psTime time to UTC time} | tst_psTime_01.c)
    49 
    50 /***************************** TESTPOINT ******************************************\
    51 *             TestFile: tst_psTime_01.c                                            *
    52 *            TestPoint: psTime{Convert UTC time to psTime}                         *
    53 *             TestType: Positive                                                   *
    54 \**********************************************************************************/
    55 
    56 psTime: Seconds = 1090434144 Nanoseconds = 272044000
    57 
    58 ---> TESTPOINT PASSED (psTime{Convert UTC time to psTime} | tst_psTime_01.c)
    59 
    60 /***************************** TESTPOINT ******************************************\
    61 *             TestFile: tst_psTime_01.c                                            *
    62 *            TestPoint: psTime{Convert psTime to MJD time}                         *
    63 *             TestType: Positive                                                   *
    64 \**********************************************************************************/
    65 
    66 MJD = 53207.765559
    67 
    68 ---> TESTPOINT PASSED (psTime{Convert psTime to MJD time} | tst_psTime_01.c)
    69 
    70 /***************************** TESTPOINT ******************************************\
    71 *             TestFile: tst_psTime_01.c                                            *
    72 *            TestPoint: psTime{Convert MJD time to psTime}                         *
    73 *             TestType: Positive                                                   *
    74 \**********************************************************************************/
    75 
    76 psTime: Seconds = 1090434144 Nanoseconds = 272043704
    77 
    78 ---> TESTPOINT PASSED (psTime{Convert MJD time to psTime} | tst_psTime_01.c)
    79 
    80 /***************************** TESTPOINT ******************************************\
    81 *             TestFile: tst_psTime_01.c                                            *
    82 *            TestPoint: psTime{Convert psTime to JD time}                          *
    83 *             TestType: Positive                                                   *
    84 \**********************************************************************************/
    85 
    86 JD = 2453208.265559
    87 
    88 ---> TESTPOINT PASSED (psTime{Convert psTime to JD time} | tst_psTime_01.c)
    89 
    90 /***************************** TESTPOINT ******************************************\
    91 *             TestFile: tst_psTime_01.c                                            *
    92 *            TestPoint: psTime{Convert JD time to psTime}                          *
    93 *             TestType: Positive                                                   *
    94 \**********************************************************************************/
    95 
    96 psTime: Seconds = 1090434144 Nanoseconds = 272048711
    97 
    98 ---> TESTPOINT PASSED (psTime{Convert JD time to psTime} | tst_psTime_01.c)
    99 
    100 /***************************** TESTPOINT ******************************************\
    101 *             TestFile: tst_psTime_01.c                                            *
    102 *            TestPoint: psTime{Convert psTime to timeval time}                     *
    103 *             TestType: Positive                                                   *
    104 \**********************************************************************************/
    105 
    106 timevalTime: Seconds = 1090434144 Microseconds = 272044
    107 
    108 ---> TESTPOINT PASSED (psTime{Convert psTime to timeval time} | tst_psTime_01.c)
    109 
    110 /***************************** TESTPOINT ******************************************\
    111 *             TestFile: tst_psTime_01.c                                            *
    112 *            TestPoint: psTime{Convert timeval time to psTime}                     *
    113 *             TestType: Positive                                                   *
    114 \**********************************************************************************/
    115 
    116 psTime: Seconds = 1090434144 Nanoseconds = 272044000
    117 
    118 ---> TESTPOINT PASSED (psTime{Convert timeval time to psTime} | tst_psTime_01.c)
    119 
    120 /***************************** TESTPOINT ******************************************\
    121 *             TestFile: tst_psTime_01.c                                            *
    122 *            TestPoint: psTime{Convert psTime to tm time}                          *
    123 *             TestType: Positive                                                   *
    124 \**********************************************************************************/
    125 
    126 tmTime:
    127 tmTime->tm_year = 104
    128 tmTime->tm_mon = 6
    129 tmTime->tm_mday = 21
    130 tmTime->tm_hour = 18
    131 tmTime->tm_min = 22
    132 tmTime->tm_sec = 24
    133 
    134 ---> TESTPOINT PASSED (psTime{Convert psTime to tm time} | tst_psTime_01.c)
    135 
    136 /***************************** TESTPOINT ******************************************\
    137 *             TestFile: tst_psTime_01.c                                            *
    138 *            TestPoint: psTime{Convert tm time to psTime}                          *
    139 *             TestType: Positive                                                   *
    140 \**********************************************************************************/
    141 
    142 psTime: Seconds = 1090434144 Nanoseconds = 0
    143 
    144 ---> TESTPOINT PASSED (psTime{Convert tm time to psTime} | tst_psTime_01.c)
    145 
    146 /***************************** TESTPOINT ******************************************\
    147 *             TestFile: tst_psTime_01.c                                            *
    148 *            TestPoint: psTime{Convert psTime time to LST}                         *
    149 *             TestType: Positive                                                   *
    150 \**********************************************************************************/
    151 
    152 LST (rad): 1.074588
    153 
    154 ---> TESTPOINT PASSED (psTime{Convert psTime time to LST} | tst_psTime_01.c)
    155 
    156 /***************************** TESTPOINT ******************************************\
    157 *             TestFile: tst_psTime_01.c                                            *
    158 *            TestPoint: psMetadata{Test P - Free data}                             *
    159 *             TestType: Positive                                                   *
    160 \**********************************************************************************/
    161 
    162 
    163 ---> TESTPOINT PASSED (psMetadata{Test P - Free data} | tst_psTime_01.c)
    164 
Note: See TracChangeset for help on using the changeset viewer.