Skip to content

Commit 506c463

Browse files
Create test_thermal.py
Allow rtdtemp without rounding
1 parent 084de0c commit 506c463

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/test_thermal.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import electricpy.thermal as thermal
2+
3+
4+
def test_rtdtemp_allows_no_rounding():
5+
temp = thermal.rtdtemp(100.0, rtdtype="PT100", round=None)
6+
assert isinstance(temp, float)

0 commit comments

Comments
 (0)