@@ -60,7 +60,7 @@ namespace pylith {
6060class pylith::problems::TestPhysics : public CppUnit::TestFixture {
6161 CPPUNIT_TEST_SUITE(TestPhysics); // CppUnit macro used to define the `TestPhysics` test suite.
6262
63- CPPUNIT_TEST(testSetNormalizer ); // CppUnit macro to add test implemented by class method.
63+ CPPUNIT_TEST(testSetScales ); // CppUnit macro to add test implemented by class method.
6464 CPPUNIT_TEST(testSetAuxiliaryFieldDB);
6565 CPPUNIT_TEST(testSetAuxiliarySubfieldDiscretization);
6666 CPPUNIT_TEST(testObservers);
@@ -81,7 +81,7 @@ public:
8181
8282 // Methods that implement tests. The naming convention is testMethodName.
8383 // All test methods must return void and not have any arguments.
84- void testSetNormalizer (void);
84+ void testSetScales (void);
8585 void testSetAuxiliaryFieldDB(void);
8686 void testSetAuxiliarySubfieldDiscretization(void);
8787 void testObservers(void);
@@ -129,20 +129,20 @@ pylith::problems::TestPhysics::tearDown(void) {
129129
130130
131131void
132- pylith::problems::TestPhysics::testSetNormalizer (void) {
132+ pylith::problems::TestPhysics::testSetScales (void) {
133133 PYLITH_METHOD_BEGIN;
134134
135- spatialdata::units::Nondimensional normalizer ;
135+ pylith::scales::Scales scales ;
136136 const PylithReal lengthScale = 3.0;
137- normalizer .setLengthScale(lengthScale);
137+ scales .setLengthScale(lengthScale);
138138
139139 CPPUNIT_ASSERT(_physics);
140- _physics->setNormalizer(normalizer );
140+ _physics->setScales(scales );
141141
142- CPPUNIT_ASSERT_DOUBLES_EQUAL(lengthScale, _physics->_normalizer ->getLengthScale(), 1.0e-6);
142+ CPPUNIT_ASSERT_DOUBLES_EQUAL(lengthScale, _physics->_scales ->getLengthScale(), 1.0e-6);
143143
144144 PYLITH_METHOD_END;
145- } // testSetNormalizer
145+ } // testSetScales
146146
147147
148148void
0 commit comments