Skip to content

Commit 707bbc3

Browse files
author
Rob
committed
changed 'qbroad_new' to 'qbroad_seperable'
1 parent 5b42095 commit 707bbc3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/tests/TestPDFCalculator.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ class TestPDFCalculator : public CxxTest::TestSuite
5555
TS_ASSERT_EQUALS(0.0, jpw0->getDoubleAttr("delta1"));
5656
TS_ASSERT_EQUALS(0.0, jpw0->getDoubleAttr("delta2"));
5757
TS_ASSERT_EQUALS(0.0, jpw0->getDoubleAttr("qbroad"));
58-
TS_ASSERT_EQUALS(0.0, jpw0->getDoubleAttr("qbroad_new"));
58+
TS_ASSERT_EQUALS(0.0, jpw0->getDoubleAttr("qbroad_seperable"));
5959
JeongPeakWidth jpw;
6060
jpw.setDelta1(1.0);
6161
jpw.setDelta2(2.0);
6262
jpw.setQbroad(3.0);
63-
jpw.setQbroad_new(4.0);
63+
jpw.setQbroad_seperable(4.0);
6464
mpdfc->setPeakWidthModel(jpw.clone());
6565
const PeakWidthModelPtr& jpw1 = mpdfc->getPeakWidthModel();
6666
TS_ASSERT_EQUALS(1.0, jpw1->getDoubleAttr("delta1"));
6767
TS_ASSERT_EQUALS(2.0, jpw1->getDoubleAttr("delta2"));
6868
TS_ASSERT_EQUALS(3.0, jpw1->getDoubleAttr("qbroad"));
69-
TS_ASSERT_EQUALS(4.0, jpw1->getDoubleAttr("qbroad_new"));
69+
TS_ASSERT_EQUALS(4.0, jpw1->getDoubleAttr("qbroad_seperable"));
7070
}
7171

7272

src/tests/TestPeakWidthModel.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ class TestPeakWidthModel : public CxxTest::TestSuite
8888
mcjepw->setDelta1(0.1);
8989
mcjepw->setDelta2(0.2);
9090
mcjepw->setQbroad(0.3);
91-
mcjepw->setQbroad_new(0.4);
91+
mcjepw->setQbroad_seperable(0.4);
9292
TS_ASSERT_EQUALS(0.1, mjepw->getDoubleAttr("delta1"));
9393
TS_ASSERT_EQUALS(0.2, mjepw->getDoubleAttr("delta2"));
9494
TS_ASSERT_EQUALS(0.3, mjepw->getDoubleAttr("qbroad"));
95-
TS_ASSERT_EQUALS(0.4, mjepw->getDoubleAttr("qbroad_new"));
95+
TS_ASSERT_EQUALS(0.4, mjepw->getDoubleAttr("qbroad_seperable"));
9696
}
9797

9898

@@ -110,7 +110,7 @@ class TestPeakWidthModel : public CxxTest::TestSuite
110110
TS_ASSERT_DELTA(0.5 * w, mjepw->calculate(*bnds), meps);
111111
mcjepw->setDelta2(0);
112112
mcjepw->setQbroad(sqrt(3));
113-
mcjepw->setQbroad_new(0);
113+
mcjepw->setQbroad_seperable(0);
114114
TS_ASSERT_DELTA(2 * w, mjepw->calculate(*bnds), meps);
115115
}
116116

@@ -124,14 +124,14 @@ class TestPeakWidthModel : public CxxTest::TestSuite
124124
mcjepw->setDelta1(1.1);
125125
mcjepw->setDoubleAttr("delta2", 2.2);
126126
mcjepw->setDoubleAttr("qbroad", 0.03);
127-
mcjepw->setDoubleAttr("qbroad_new", 0.003);
127+
mcjepw->setDoubleAttr("qbroad_seperable", 0.003);
128128
PeakWidthModelPtr pwm2 = dumpandload(mjepw);
129129
JeongPeakWidth* cpwm2 = dynamic_cast<JeongPeakWidth*>(pwm2.get());
130130
TS_ASSERT(cpwm2);
131131
TS_ASSERT_EQUALS(1.1, pwm2->getDoubleAttr("delta1"));
132132
TS_ASSERT_EQUALS(2.2, pwm2->getDoubleAttr("delta2"));
133133
TS_ASSERT_EQUALS(0.03, pwm2->getDoubleAttr("qbroad"));
134-
TS_ASSERT_EQUALS(0.003, pwm2->getDoubleAttr("qbroad_new"));
134+
TS_ASSERT_EQUALS(0.003, pwm2->getDoubleAttr("qbroad_seperable"));
135135
}
136136

137137

0 commit comments

Comments
 (0)