refactor: implement thread-safe hardware operations, port caching, and refined state management in the device controller
This commit is contained in:
@@ -242,6 +242,11 @@ class TestRemoveTrailingZeros:
|
||||
remove_trailing_zeros(data)
|
||||
assert len(data) == 2
|
||||
|
||||
def test_preserves_negative_temperatures(self):
|
||||
data = [["25.0", "24.5"], ["-5.5", "-10.0"]]
|
||||
remove_trailing_zeros(data)
|
||||
assert len(data) == 2
|
||||
|
||||
|
||||
# ── save_to_csv ───────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user