public void ProbeMachine_UtilizationFirstTime_NonZero() { // Setup // Act SensorGroup group = _data.ProbeMachine(); SensorNode utilNode = group.GetSensor("test", "utilization"); // Assert utilNode.sensor_value.ShouldBeGreaterThan(0); }
public void ProbeMachine_UtilizationNextTime_NonZero() { // Setup // Act SensorGroup group1 = _data.ProbeMachine(); SensorGroup group2 = _data.ProbeMachine(); SensorNode utilNode = group2.GetSensor("test", "utilization"); // Assert utilNode.sensor_value.ShouldBe(15); }