public Form1() { InitializeComponent(); ports = System.IO.Ports.SerialPort.GetPortNames(); comboBox1.Items.AddRange(ports); obd = new OBD.Sensors(this); }
public void Supported_PIDsTest() { OBD.Sensors target = new OBD.Sensors(); // TODO: Initialize to an appropriate value OBD.Sensors.ReturnSet expected = null; // TODO: Initialize to an appropriate value OBD.Sensors.ReturnSet actual; actual = target.Supported_PIDs(); Assert.AreEqual("2730", actual.result); Assert.Inconclusive("Verify the correctness of this test method."); }
public void Aux_input_statusTest() { OBD.Sensors target = new OBD.Sensors(); // TODO: Initialize to an appropriate value OBD.Sensors.ReturnSet expected = null; // TODO: Initialize to an appropriate value OBD.Sensors.ReturnSet actual; actual = target.Aux_input_status(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void Vehicle_SpeedTest() { OBD.Sensors target = new OBD.Sensors(frm); OBD.Sensors.ReturnSet expected = new OBD.Sensors.ReturnSet(); OBD.Sensors.ReturnSet actual; actual = target.Vehicle_Speed(); System.Console.WriteLine(actual.result,actual.RawValue); Assert.AreNotEqual("", actual.result); }
public void Timing_AdvanceTest() { OBD.Sensors target = new OBD.Sensors(frm); OBD.Sensors.ReturnSet expected = null; // TODO: Initialize to an appropriate value OBD.Sensors.ReturnSet actual; actual = target.Timing_Advance(); Assert.AreNotEqual("", actual); }
public void OBD_SensorsConstructorTest() { OBD.Sensors target = new OBD.Sensors(); Assert.Inconclusive("TODO: Implement code to verify target"); }
public void HexToIntTest() { OBD.Sensors target = new OBD.Sensors(); // TODO: Initialize to an appropriate value string hex = string.Empty; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; actual = target.HexToInt(hex); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }