Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sign conversion #346

Merged
merged 3 commits into from Feb 1, 2022
Merged

Fix sign conversion #346

merged 3 commits into from Feb 1, 2022

Conversation

Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Jan 31, 2022

This PR adds a test for switching signs and fixes the regression (from #341) that broke that conversion. Also adds a test for another unit that includes a scaling factor (l/100km, used for car fuel consumption), and comments out two test cases that show the current limitations of our unit conversion function.

Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x self-assigned this Jan 31, 2022
@Flix6x Flix6x requested a review from nhoening January 31, 2022 20:42
@Flix6x Flix6x added this to the 0.9.0 milestone Jan 31, 2022
@Flix6x Flix6x merged commit f99f60c into main Feb 1, 2022
@Flix6x Flix6x deleted the fix-sign-conversion branch February 1, 2022 18:35
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.

None yet

2 participants