Add ioOp for TraceMsg and cleanup MetalClaw

This commit is contained in:
2018-02-15 22:22:55 -06:00
parent 2b5c34279c
commit 7f3cda0ab3
5 changed files with 35 additions and 11 deletions

View File

@ -83,7 +83,7 @@ map<string, int(*)(string)> tests = {
int err = 0;
TestStruct ts;
err |= write(buff, buffLen, &ts);
err |= writeMC(buff, buffLen, &ts);
delete []buff;
@ -109,8 +109,8 @@ map<string, int(*)(string)> tests = {
testIn.Struct.Int = 300;
testIn.Struct.String = "Test String 2";
err |= write(buff, buffLen, &testIn);
err |= read(buff, buffLen, &testOut);
err |= writeMC(buff, buffLen, &testIn);
err |= readMC(buff, buffLen, &testOut);
err |= !(testIn.Bool == testOut.Bool);
err |= !(testIn.Int == testOut.Int);