Kaydet (Commit) 528d2ce5 authored tarafından Caolán McNamara's avatar Caolán McNamara

see if this will silence cid#1326879 FE: Test for floating point equality

Change-Id: I1b5cdad7bda19c7cab19b062ad15cf67282ecefb
üst ab22d112
......@@ -154,9 +154,10 @@ public class _XCurrencyField extends MultiMethodTest {
requiredMethod("getFirst()");
boolean result = true;
oObj.setFirst(first + 1.1);
double value = first + 1.1;
oObj.setFirst(value);
double ret = oObj.getFirst();
result = ret == first + 1.1;
result = ret == value;
tRes.tested("setFirst()", result);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment