remove unnecessary floatCompare func
Add mockedenginebackendtest.cpp.