START_SECTION(double getDiffAverageMass() const) NOT_TESTABLE END_SECTION START_SECTION(void setDiffMonoMass(double mass)) ptr->setDiffMonoMass(5.0); TEST_REAL_SIMILAR(ptr->getDiffMonoMass(), 5.0) END_SECTION START_SECTION(double getDiffMonoMass() const) NOT_TESTABLE END_SECTION START_SECTION(void setFormula(const String &composition)) ptr->setFormula("blubb_new_formula"); TEST_STRING_EQUAL(ptr->getFormula(), "blubb_new_formula") END_SECTION START_SECTION(const String& getFormula() const) NOT_TESTABLE END_SECTION START_SECTION(void setDiffFormula(const EmpiricalFormula& diff_formula)) EmpiricalFormula ef("C3H4S-3"); ptr->setDiffFormula(ef); TEST_EQUAL(ptr->getDiffFormula() == ef, true) END_SECTION START_SECTION(const EmpiricalFormula& getDiffFormula() const) NOT_TESTABLE END_SECTION