Skip to content

Address lack of unit tests #2

@cjosey

Description

@cjosey

This is a tracking issue to keep a list of needed unit testing capabilities that need to be added to the code.
This code is growing at a rapid rate, and ensuring that updates do not break the code is essential. Currently, the code is tested by setting seed = 1, running a simulation, saving the result, and comparing it against an updated version of the program. This is unsustainable.

Obvious tests:

  • CRAM solver.
  • matexp parallel code.
  • Each integrator method. Using a separate, non OpenMC operator such that an analytic solution is known would be ideal. This would prevent needing to keep fully in sync with OpenMC.
  • XML generation.
  • Depletion chain / matrix formation.
  • Parallel depletion chain formation.

Except for the third one, all of these should be relatively trivial to implement.

Metadata

Metadata

Assignees

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