Changeset 386ffe1 in sasview for test/sasmodels
- Timestamp:
- Feb 20, 2015 5:02:38 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:
- cda1cf8
- Parents:
- 018582f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasmodels/test/utest_models.py
r8c9ffde r386ffe1 59 59 60 60 def test2D(self): 61 """ Test 2D model of a cylinder """ 61 """ Test 2D model of a cylinder """ 62 62 self.comp.setParam('cyl_theta', 10.0) 63 63 self.comp.setParam('cyl_phi', 10.0) 64 self.assertAlmostEqual(self.comp.run([0.2, 2.5]), 65 0.038176446608393366, 2) 64 self.assertAlmostEqual(self.comp.run([0.2, 2.5]), 65 0.038176446608393366, 2) 66 66 67 67 class TestGaussian(unittest.TestCase):
Note: See TracChangeset
for help on using the changeset viewer.