Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for switching signs and fix the regression (from #341) that broke that conversion. Also add a test for another unit that includes a scaling factor (l/100km, used for car fuel consumption), and comment out two test cases that show the current limitations of our unit conversion function. * Use FlexMeasures unit registry Signed-off-by: F.N. Claessen <felix@seita.nl> * Fix and test conversion from -W to W Signed-off-by: F.N. Claessen <felix@seita.nl> * Refactor Signed-off-by: F.N. Claessen <felix@seita.nl>
- Loading branch information
Showing
2 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters