Changeset 7d64b0e in sasview for test/sasmodels
- Timestamp:
- Mar 12, 2015 10:32:08 AM (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:
- bb074b3
- Parents:
- d26dea0 (diff), ac1670a2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - 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.