Skip to content

Commit

Permalink
The order of the functions in the fit string does not matter
Browse files Browse the repository at this point in the history
  • Loading branch information
robertapplin committed Apr 24, 2024
1 parent 4b1805e commit 7c207e3
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -451,7 +451,9 @@ class FittingModelTest : public CxxTest::TestSuite {
"Height=1,Lifetime=1,Stretching=1;));");
m_model->setFitFunction(function);
m_model->updateFitTypeString();
TS_ASSERT_EQUALS("1E1S", m_model->getFitString());
auto const fitString = m_model->getFitString();
TS_ASSERT(fitString.find("1E") != std::string::npos);
TS_ASSERT(fitString.find("1S") != std::string::npos);
}

void test_that_no_matched_name_is_correct() {
Expand Down

0 comments on commit 7c207e3

Please sign in to comment.