Skip to content

Improve conversion tests including circularity functionality checks in dodal / general maths #2102

Description

@CoePaul

Split from issue #2101
There are tests in dodal / common / general maths module for
general purpose quantity conversions and for transmission specific conversion.

Issues with these tests
( whilst mostly well written )
a) the tests feature very similar input - nothing other than powers of ten have been tried out
b) the circularity tests could have used a common circularity harness instead of each test rolling its own and being
potential subject to an internal flaw

Acceptance Criteria

  • That unit tests for conversions feature more test cases, more realistic
  • That the circularity tests use a common "harness" mechanism for checking any reciprocating pair of functions

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions