Skip to content

Conversation

@christopherwallis
Copy link
Collaborator

Add check to round_to_3_sig_figures function in fixate\ui_cmdline\cmd_line.py
Checks that output of conversion to 3 sig figs matches expected using math.isclose.

Pytests added in test_checks for testing the output formatting and confirming some other check functions.

@jcollins1983
Copy link
Collaborator

@christopherwallis, there are conflicts on this really old PR now, and I believe @John2202W has done some work in this space. Between the two of you, can we decide if this PR should be closed or correct the conflicts?

@John2202W
Copy link
Collaborator

In PR 146 the user checks will have an extra argument to overwrite/disable the default formatting now. It'd be worth still adding in pytests for time comparisons

@jcollins1983
Copy link
Collaborator

@christopherwallis can make the necessary changes to this PR (I'm assuming just the tests for time checks based on @John2202W 's response) so that it can be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants