- Timestamp:
- Mar 9, 2015 2:01:51 PM (10 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasmodels/test/utest_other_models.py
r8c9ffde rac1670a2 899 899 def test1D(self): 900 900 """ Test 1D model for a LamellarPS Model""" 901 self.assertAlmostEquals(self.comp.run(0.001), 2 7899.30836, 1)901 self.assertAlmostEquals(self.comp.run(0.001), 28895.13397, 1) 902 902 903 903 def test1D_2(self): 904 904 """ Test 2D model for a LamellarPS Model""" 905 self.assertAlmostEquals(self.comp.run([0.001, 1.3]),2 7899.30836, 1)905 self.assertAlmostEquals(self.comp.run([0.001, 1.3]),28895.13397, 1) 906 906 907 907 def testEval_1D(self): … … 948 948 def test1D(self): 949 949 """ Test 1D model for a LamellarPSHG Model""" 950 self.assertAlmostEquals(self.comp.run(0.001),683 1387.29466, 3)950 self.assertAlmostEquals(self.comp.run(0.001),6838238.571488, 3) 951 951 952 952 def test1D_2(self): 953 953 """ Test 2D model for a LamellarPSHG Model""" 954 self.assertAlmostEquals(self.comp.run([0.001, 1.3]),683 1387.29466,3)954 self.assertAlmostEquals(self.comp.run([0.001, 1.3]),6838238.571488,3) 955 955 956 956 def testEval_1D(self):
Note: See TracChangeset
for help on using the changeset viewer.