Files
core/tests/components
rianadon a102c425a9 Add speed conversion function & add speed to units system (#53846)
* Add speed conversion function

* Add test for speed utility functions

* Update unit system tests

* Fix incorrect unit conversions in tests

* Fix some test errors

* Calculate speed units from smaller set of constants

* Fix typo in speed test

* Use pytest.approx for checking floating point values

* Change other instance of speeds needing to be pytest.approx

* Revert changes to unit system

* Fix oopsie in defining in/day and in/hr

* Parametrize test

* Add comments describing calculations & remove duplicate test
2021-11-09 08:12:28 +01:00
..
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
…
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
2021-11-04 10:07:50 -05:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
…
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
2021-11-04 10:07:50 -05:00
2021-11-01 20:47:05 -07:00
2021-11-08 21:29:25 -08:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
…
…
2021-11-01 20:47:05 -07:00
2021-10-19 12:29:43 +02:00
2021-11-04 10:07:50 -05:00
2021-11-01 20:47:05 -07:00
…
…
2021-11-01 20:47:05 -07:00
…
…
2021-11-01 20:47:05 -07:00
2021-10-14 10:03:38 -07:00
…
2021-10-21 07:10:23 -10:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
…
…
2021-11-01 20:47:05 -07:00
…
2021-11-08 14:02:18 +01:00
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-10-14 10:03:38 -07:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-10-14 10:03:38 -07:00
…
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
…
…
2021-11-04 10:07:50 -05:00
…
2021-11-01 20:47:05 -07:00
…
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
…
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
2021-11-01 20:47:05 -07:00
…
2021-10-26 13:35:09 -07:00
…
…
2021-11-08 10:26:00 -06:00
…
2021-11-01 20:47:05 -07:00
…
2021-11-01 20:47:05 -07:00
…