public void TestIsCurrentSensor(string sensorInfo, string sensorName, bool isCurrentSensor) { SensorTest test = new SensorTest() { Name = sensorName }; Assert.Equal(isCurrentSensor, test.IsSensor(sensorInfo)); }
public static void RunSensorTest() { SensorTest test = new SensorTest(Config.SensorIp); test.ShowDialog(); }