Changeset 2c74c11 in sasmodels for sasmodels/model_test.py
- Timestamp:
- Jul 24, 2016 10:56:45 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- a4280bd
- Parents:
- f1765a2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/model_test.py
r9eb3632 r2c74c11 201 201 #({}, 0.0, None), 202 202 #({}, (0.0, 0.0), None), 203 # test vector form 204 ({}, [0.1]*2, [None]*2), 205 ({}, [(0.1, 0.1)]*2, [None]*2), 203 206 # test that ER/VR will run if they exist 204 207 ({}, 'ER', None), … … 257 260 if yi is None: 258 261 # smoke test --- make sure it runs and produces a value 259 self.assertTrue(n p.isfinite(actual_yi),262 self.assertTrue(not np.isnan(actual_yi), 260 263 'invalid f(%s): %s' % (xi, actual_yi)) 261 264 elif np.isnan(yi):
Note: See TracChangeset
for help on using the changeset viewer.