public void TestConfigureScaleModelPLC() { PLC = ConfigManager.ConfigurePLC("/sP"); ScaleModelPLC testPlc = new ScaleModelPLC(); Assert.AreEqual(testPlc.GetType(), PLC.GetType()); }
public void TestConfigureVirtualPLC() { PLC = ConfigManager.ConfigurePLC("/Vp"); //VRPLC testPlc = new VRPLC(); // will need to be uncommented when the VR constructor is fixed Assert.AreEqual(typeof(VRPLC), PLC.GetType()); }
public void TestConfigureTestPLC() { PLC = ConfigManager.ConfigurePLC("/tP"); TestPLC testPlc = new TestPLC(); Assert.AreEqual(testPlc.GetType(), PLC.GetType()); PLC = ConfigManager.ConfigurePLC("s$a"); Assert.AreEqual(testPlc.GetType(), PLC.GetType()); }