micropelt 1.1.8

Micropelt device communication definitions
Documentation
1
2
3
4
5
6
7
8
9
use super::*;

#[test]
fn display() {
    assert_eq!("FP", SetPointTemperature::FreezeProtect.to_string());
    assert_eq!("-4", SetPointTemperature::Offset(-4).to_string());
    assert_eq!(" 0", SetPointTemperature::Offset(0).to_string());
    assert_eq!("+3", SetPointTemperature::Offset(3).to_string());
}