diff options
Diffstat (limited to 'tests/test_msgproc.c')
| -rwxr-xr-x | tests/test_msgproc.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/test_msgproc.c b/tests/test_msgproc.c deleted file mode 100755 index 497d862..0000000 --- a/tests/test_msgproc.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <stdio.h> - -#include "../PICA_msgproc.h" - - unsigned int _PICA_msginfo_arr_size=1; - - struct PICA_msginfo _PICA_msginfo_arr[1]={0xCF,PICA_MSG_VAR_SIZE,3}; - -char tstpck[12]={0xCF,0xCF,0x03,0x01,1,0,0,0,0,0,0,0}; - -int main() -{ -printf("nb=1 ret=%u\n",PICA_msggetsize(tstpck,1)); -printf("nb=4 ret=%u\n",PICA_msggetsize(tstpck,4)); -printf("nb=12 ret=%X\n",PICA_msggetsize(tstpck,12)); - -return 0; -}
\ No newline at end of file |
