Added utils and tests for it. It's a work in progress. ArrayFIFOTest is still not finished.

This commit is contained in:
miha_vitorovic
2010-11-10 14:17:36 +01:00
parent 620f0f0681
commit f53aad747c
17 changed files with 1743 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
/*
* HexDumpTest.cpp
*
* Created on: Nov 8, 2010
* Author: Miha Vitorovic
*/
#include <iostream>
#include "hexDump.h"
using namespace epics::pvAccess;
using std::cout;
using std::endl;
int main(int argc, char *argv[]) {
char TO_DUMP[] = "pvAccess dump test\0\1\2\3\4\5\6\254\255\256";
hexDump("test", (int8*)TO_DUMP, 18+9);
hexDump("only text", (int8*)TO_DUMP, 18);
hexDump("22 byte test", (int8*)TO_DUMP, 22);
cout<<endl;
return 0;
}