Changeset b216880 in sasmodels
- Timestamp:
- Mar 1, 2017 5:36:33 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- c68c5e9
- Parents:
- d5b5b71
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/model_test.py
re09d1e0 rb216880 187 187 #({}, (0.0, 0.0), None), 188 188 # test vector form 189 ({}, [0. 1]*2, [None]*2),189 ({}, [0.001, 0.01, 0.1], [None]*3), 190 190 ({}, [(0.1, 0.1)]*2, [None]*2), 191 191 # test that ER/VR will run if they exist … … 201 201 if self.stash: 202 202 for test, target, actual in zip(tests, self.stash[0], results): 203 assert np.all(abs(target-actual) <2e-5*abs(actual)),\203 assert np.all(abs(target-actual) < 5e-5*abs(actual)),\ 204 204 "expected %s but got %s for %s"%(target, actual, test[0]) 205 205 else:
Note: See TracChangeset
for help on using the changeset viewer.