public void SensorValueToSensorDataEntityConverterTest(SensorType type) { var sensorValue = _sensorValuesFactory.BuildSensorValue(type); var dataEntity = sensorValue.Convert(_timeCollected, SensorStatus.Ok); SensorValuesTester.TestSensorDataEntity(sensorValue, dataEntity, _timeCollected); }
public void UnitedValueToSensorDataEntityTest(SensorType sensorType) { var unitedValue = _sensorValuesFactory.BuildUnitedSensorValue(sensorType); var sensorDataEntity = unitedValue.Convert(_timeCollected, SensorStatus.Ok); SensorValuesTester.TestSensorDataEntity(unitedValue, sensorDataEntity, _timeCollected); }