19 lines
397 B
C++
19 lines
397 B
C++
|
#include "MockDtypes.h"
|
||
|
#include "MockSerial.h"
|
||
|
#include "session/Session.h"
|
||
|
#include "session/MockStorage.h"
|
||
|
|
||
|
const uint32_t SESSION_SIZE = 128;
|
||
|
typedef Session<uint16_t, MockStorageReader, MockStorageWriter, SESSION_SIZE> MockSession;
|
||
|
|
||
|
int main(int argc, char**argv)
|
||
|
{
|
||
|
MockSession session;
|
||
|
|
||
|
for( uint16_t i=0; i < SESSION_SIZE; ++i) {
|
||
|
session.addPoint(i);
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|