public void CreatedHum_GetNextSensorValue_LowerThanMax() { _uut = new FakeSensor(3); for (int i = 0; i < 1000; i++) { _uut.GetNextSensorValue(); } Assert.That(_uut.LastSensorValueEntry, Is.LessThanOrEqualTo(70)); }
public void CreatedChlor_GetNextSensorValue_GreaterThanMin() { _uut = new FakeSensor(2); for (int i = 0; i < 1000; i++) { _uut.GetNextSensorValue(); } Assert.That(_uut.LastSensorValueEntry, Is.GreaterThanOrEqualTo(0)); }
public void CreatedHum_LastSensorValueEntry_LowerThanMax() { _uut = new FakeSensor(3); Assert.That(_uut.LastSensorValueEntry, Is.LessThanOrEqualTo(70)); }
public void CreatedHum_LastSensorValueEntry_GreaterThanMin() { _uut = new FakeSensor(3); Assert.That(_uut.LastSensorValueEntry, Is.GreaterThanOrEqualTo(40)); }
public void Setup() { _uut = new FakeSensor(); }
public void CreatedTemp_LastSensorValueEntry_GreaterThanMin() { _uut = new FakeSensor(0); Assert.That(_uut.LastSensorValueEntry, Is.GreaterThanOrEqualTo(25)); }