Changeset ac1670a2 in sasview for test


Ignore:
Timestamp:
Mar 9, 2015 2:01:51 PM (5 years ago)
Author:
richardh
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
66f21cd
Parents:
8d302cd
Message:

fix the utests for lamellarPS and lamellarPS_HG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasmodels/test/utest_other_models.py

    r8c9ffde rac1670a2  
    899899    def test1D(self): 
    900900        """ Test 1D model for a LamellarPS Model""" 
    901         self.assertAlmostEquals(self.comp.run(0.001), 27899.30836, 1) 
     901        self.assertAlmostEquals(self.comp.run(0.001), 28895.13397, 1) 
    902902         
    903903    def test1D_2(self): 
    904904        """ Test 2D model for a LamellarPS Model""" 
    905         self.assertAlmostEquals(self.comp.run([0.001, 1.3]),27899.30836, 1)  
     905        self.assertAlmostEquals(self.comp.run([0.001, 1.3]),28895.13397, 1)  
    906906     
    907907    def testEval_1D(self): 
     
    948948    def test1D(self): 
    949949        """ Test 1D model for a LamellarPSHG Model""" 
    950         self.assertAlmostEquals(self.comp.run(0.001),6831387.29466, 3) 
     950        self.assertAlmostEquals(self.comp.run(0.001),6838238.571488, 3) 
    951951         
    952952    def test1D_2(self): 
    953953        """ Test 2D model for a LamellarPSHG Model""" 
    954         self.assertAlmostEquals(self.comp.run([0.001, 1.3]),6831387.29466,3) 
     954        self.assertAlmostEquals(self.comp.run([0.001, 1.3]),6838238.571488,3) 
    955955         
    956956    def testEval_1D(self): 
Note: See TracChangeset for help on using the changeset viewer.