@polesye addDelta is never used anywhere and perhaps doesn't need to be defined and tested? Just define and test substractDelta?