add test for plugin

This commit is contained in:
mrkraimer
2018-07-13 11:50:27 -04:00
parent 3e0282d956
commit a2a07a1d33
7 changed files with 282 additions and 13 deletions

View File

@ -68,7 +68,6 @@ static void test()
exampleRecord->unlock();
}
if(debug) {cout << "processed exampleDouble " << endl; }
exampleRecord->destroy();
recordName = "powerSupplyExample";
PowerSupplyPtr psr;
pvStructure = createPowerSupply();
@ -127,7 +126,6 @@ static void test()
testOk1(psr->getVoltage()==1.0);
testOk1(psr->getPower()==1.0);
testOk1(psr->getCurrent()==1.0);
psr->destroy();
}
MAIN(testExampleRecord)