Objects Compiled
This commit is contained in:
parent
31e420b311
commit
edf0548046
52 changed files with 384 additions and 370 deletions
|
|
@ -115,27 +115,6 @@ namespace tp {
|
|||
incrementAddresses(size);
|
||||
}
|
||||
|
||||
template<typename tType>
|
||||
static void test() {
|
||||
const tType val;
|
||||
tType res;
|
||||
|
||||
res.change();
|
||||
|
||||
ArchiverExample<tMaxMemory, false> write;
|
||||
ArchiverExample<tMaxMemory, true> read;
|
||||
|
||||
write % val;
|
||||
|
||||
for (auto i = 0; i < tMaxMemory; i++) read.mBuff[i] = write.mBuff[i];
|
||||
|
||||
read % res;
|
||||
|
||||
if (val != res) {
|
||||
throw "test failed";
|
||||
}
|
||||
}
|
||||
|
||||
public:
|
||||
int1 mBuff[tMaxMemory]{};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue