OpenEnroth 73e68f7
|
#include <vector>
#include <string>
#include "Testing/Unit/UnitTest.h"
#include "Library/Snapshots/CommonSnapshots.h"
#include "Library/Snapshots/SnapshotSerialization.h"
#include "Utility/Streams/StringOutputStream.h"
#include "Utility/Streams/MemoryInputStream.h"
Classes | |
struct | Int_MM |
Functions | |
void | snapshot (int src, Int_MM *dst) |
void | reconstruct (const Int_MM &src, int *dst) |
UNIT_TEST (Snapshots, Via) | |
UNIT_TEST (Snapshots, SizedVia) | |
UNIT_TEST (Snapshots, MultiSizedVia) | |
UNIT_TEST (Snapshots, AppendSizedVia) | |
UNIT_TEST (Snapshots, AppendVia) | |
UNIT_TEST (Snapshots, ArrayVia) | |
UNIT_TEST (Snapshots, IndexedBitset) | |
UNIT_TEST (Snapshots, Cast) | |
template<class T1 , class T2 > | |
bool | snapshotCastCompiles () |
UNIT_TEST (Snapshots, CastRequiresExplicitTypes) | |
Variables | |
static const std::vector< int > | ints012 = {0, 1, 2} |
static const std::vector< int > | ints345 = {3, 4, 5} |
static const std::vector< int > | ints012345 = {0, 1, 2, 3, 4, 5} |
void reconstruct | ( | const Int_MM & | src, |
int * | dst | ||
) |
void snapshot | ( | int | src, |
Int_MM * | dst | ||
) |
bool snapshotCastCompiles | ( | ) |
UNIT_TEST | ( | Snapshots | , |
AppendSizedVia | |||
) |
UNIT_TEST | ( | Snapshots | , |
AppendVia | |||
) |
UNIT_TEST | ( | Snapshots | , |
ArrayVia | |||
) |
UNIT_TEST | ( | Snapshots | , |
Cast | |||
) |
UNIT_TEST | ( | Snapshots | , |
CastRequiresExplicitTypes | |||
) |
UNIT_TEST | ( | Snapshots | , |
IndexedBitset | |||
) |
UNIT_TEST | ( | Snapshots | , |
MultiSizedVia | |||
) |
UNIT_TEST | ( | Snapshots | , |
SizedVia | |||
) |
UNIT_TEST | ( | Snapshots | , |
Via | |||
) |
|
static |
|
static |
|
static |