source: sasview/test/sansmodels/test/utest_model_pringle.py @ 5777106

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 5777106 was 5777106, checked in by Mathieu Doucet <doucetm@…>, 11 years ago

Moving things around. Will definitely not build.

  • Property mode set to 100644
File size: 432 bytes
Line 
1"""
2    Unit tests for specific model
3"""
4
5import unittest, time, math
6     
7class TestPringle(unittest.TestCase):
8   
9    def setUp(self):
10        from sans.models.PringlesModel import PringlesModel
11        self.pm = PringlesModel()
12       
13    def test1D(self):
14        '''Test 1D model of a pringle particle'''
15        self.assertAlmostEqual(self.pm.run(0.1), 10.0729, 4)
16       
17if __name__ == '__main__':
18    unittest.main()
Note: See TracBrowser for help on using the repository browser.