Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class Valid
public void TestReportGeneration()
var sensorName = "TempSensor 1";
var sensor = new Sensor(sensorName, new List<double>() { 1.0D });
var expectedContent =
var reportGenerator = new PlainTextSensorReportGenerator(sensor);
Assert.AreEqual(expectedContent, reportGenerator.GetContent());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment