Changes in / [1f159bd:8c7d5d5] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_parallelepiped.py

    r1f159bd r1f159bd  
    213213 
    214214# rkh 7/4/17 add random unit test for 2d, note make all params different, 2d values not tested against other codes or models 
    215 qx, qy = 0.2 * cos(pi/6.), 0.2 * sin(pi/6.) 
    216 tests = [[{}, 0.2, 0.533149288477], 
    217          [{}, [0.2], [0.533149288477]], 
    218          [{'theta':10.0, 'phi':20.0}, (qx, qy), 0.0853299803222], 
    219          [{'theta':10.0, 'phi':20.0}, [(qx, qy)], [0.0853299803222]], 
    220         ] 
    221 del tests  # TODO: fix the tests 
    222 del qx, qy  # not necessary to delete, but cleaner 
     215if 0:  # pak: model rewrite; need to update tests 
     216    qx, qy = 0.2 * cos(pi/6.), 0.2 * sin(pi/6.) 
     217    tests = [[{}, 0.2, 0.533149288477], 
     218            [{}, [0.2], [0.533149288477]], 
     219            [{'theta':10.0, 'phi':20.0}, (qx, qy), 0.0853299803222], 
     220            [{'theta':10.0, 'phi':20.0}, [(qx, qy)], [0.0853299803222]], 
     221            ] 
     222    del qx, qy  # not necessary to delete, but cleaner 
Note: See TracChangeset for help on using the changeset viewer.