Ignore:
Timestamp:
Jan 27, 2016 2:01:36 AM (8 years ago)
Author:
piotr
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:
87edabf
Parents:
29da213
Message:

More unit tests for converted models.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/polymer_excl_volume.py

    r513efc5 r07a6700  
    157157               porod_exp='m') 
    158158 
    159 tests = [[{'rg': 10, 'porod_exp': 4.0}, 0.1, 0.723436675809], 
     159tests = [ 
     160         # Accuracy tests based on content in test/polyexclvol_default_igor.txt 
     161         [{'rg': 60, 'porod_exp': 3.0}, 0.001, 0.998801], 
     162         [{'rg': 60, 'porod_exp': 3.0}, 0.105363, 0.0162751], 
     163         [{'rg': 60, 'porod_exp': 3.0}, 0.665075, 6.56261e-05], 
    160164 
     165         # Additional tests with larger range of parameters 
     166         [{'rg': 10, 'porod_exp': 4.0}, 0.1, 0.723436675809], 
    161167         [{'rg': 2.2, 'porod_exp': 22.0, 'background': 100.0}, 5.0, 100.0], 
    162  
    163168         [{'rg': 1.1, 'porod_exp': 1, 'background': 10.0, 'scale': 1.25}, 
    164169         20000., 10.0000712097] 
Note: See TracChangeset for help on using the changeset viewer.