Open kbabioch opened 1 year ago
In my opinion, only to_heatpump(from_heatpump(...))
should be stable (for reasonable inputs). If we know, what "reasonable" inputs are (by adding, e.g., something like max
, min
and step
variables to the datatype classes, see also #35), such a unit test could be implemented easily.
Currently there seem to be some instabilities when converting data back and forth:
This should be double-checked for all datatypes. Ideally there should be some automated unit tests for these cases. Also this should be fixed, potentially by using
round()
or similar approaches.