Add tests for is_a and isCompatible for PVStructures

This commit is contained in:
Dave Hickin
2016-04-12 03:24:47 +01:00
parent 5dfc4ffd16
commit 08234150dc
15 changed files with 57 additions and 16 deletions

View File

@@ -69,6 +69,8 @@ void test_ntmatrix()
create();
testOk1(ntMatrix.get() != 0);
testOk1(NTMatrix::is_a(ntMatrix->getPVStructure()));
testOk1(NTMatrix::isCompatible(ntMatrix->getPVStructure()));
testOk1(ntMatrix->getPVStructure().get() != 0);
testOk1(ntMatrix->getValue().get() != 0);
@@ -202,7 +204,7 @@ void test_wrap()
}
MAIN(testNTMatrix) {
testPlan(36);
testPlan(38);
test_builder();
test_ntmatrix();
test_wrap();