Skip to content

Clean up shared test functions, ensure coverage of edge cases #233

@Sparks29032

Description

@Sparks29032
  • If any code is reused in tests, put it all in a function. If a particular function is shared across multiple test files, put it in the conftest.
    • Rethink names of functions (e.g. isfloat -> is_float, are_files_same -> files_same). This is to mirror numpy's all_close function naming.
  • Think up edge cases and cover them. One important one: smear-pdf when the target and objective g(r) functions are on different grids. This has not been covered in our tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions