Revert "Replace display.format with .form and .precision"
This reverts commit 4ffddfa2f6.
This commit is contained in:
@@ -172,6 +172,7 @@ static void testDisplay()
|
||||
dy.setLow(-10.0);
|
||||
dy.setHigh(-1.0);
|
||||
dy.setDescription(string("testDescription"));
|
||||
dy.setFormat(string("%f10.0"));
|
||||
dy.setUnits(string("volts"));
|
||||
result = pvDisplay.set(dy);
|
||||
testOk1(result);
|
||||
@@ -179,6 +180,7 @@ static void testDisplay()
|
||||
testOk1(dy.getLow()==display.getLow());
|
||||
testOk1(dy.getHigh()==display.getHigh());
|
||||
testOk1(dy.getDescription().compare(display.getDescription())==0);
|
||||
testOk1(dy.getFormat().compare(display.getFormat())==0);
|
||||
testOk1(dy.getUnits().compare(display.getUnits())==0);
|
||||
double low = display.getLow();
|
||||
double high = display.getHigh();
|
||||
@@ -215,7 +217,7 @@ static void testEnumerated()
|
||||
|
||||
MAIN(testProperty)
|
||||
{
|
||||
testPlan(26);
|
||||
testPlan(27);
|
||||
testDiag("Tests property");
|
||||
fieldCreate = getFieldCreate();
|
||||
pvDataCreate = getPVDataCreate();
|
||||
|
||||
Reference in New Issue
Block a user