/* * growingCircularBufferTest.cpp * * Created on: Nov 11, 2010 * Author: Miha Vitorovic */ #include #include #include using namespace epics::pvAccess; using std::cout; using std::endl; const size_t CAPACITY = 10; void testSimpleType() { GrowingCircularBuffer cb(CAPACITY); cout<<"Testing circular buffer simple type."< cb(CAPACITY); int testVals[] = {0,1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20}; cout<<"Testing circular buffer pointer type."<