Opened 2 years ago

Last modified 3 months ago

#822 new enhancement

Create proper Unit Testing directory structure for SasModels

Reported by: piotr Owned by:
Priority: major Milestone: SasView 4.3.0
Component: SasView Keywords:
Cc: Work Package: SasView Framework Enhancements


Change History (3)

comment:1 Changed 15 months ago by butler

  • Milestone changed from SasView 4.2.0 to SasView 4.3.0
  • Work Package changed from SasView Bug Fixing to SasView Framework Enhancements

comment:2 Changed 3 months ago by pkienzle

Could extend the test environment within each model file to allow structure factor tests. That way user models can include structure factor evaluations.

something like:

tests = [
    [{}, 0.0005, 859.916526646],
    [{}, 0.100600200401, 1.77063682331],
    [{}, 0.5, 0.00355351388906],
    [{'@S': 'hardsphere',          # hard sphere structure factor
      'structure_factor_type': 1,  # decoupling approximation
      'effective_radius_type': 1,  # equivalent sphere
     }, 0.5, ????],

Need some rejiggering of, but easy enough.

Last edited 3 months ago by pkienzle (previous) (diff)

comment:3 Changed 3 months ago by Paul Kienzle <pkienzle@…>

In 81751c29b389be731a04ab84a1a93dedf718e16a/sasmodels:

allow structure factor tests in model file. Refs #822.

Note: See TracTickets for help on using tickets.