Exemplo n.º 1
0
        public void TestConfigureScaleModelPLC()
        {
            PLC = ConfigManager.ConfigurePLC("/sP");
            ScaleModelPLC testPlc = new ScaleModelPLC();

            Assert.AreEqual(testPlc.GetType(), PLC.GetType());
        }
Exemplo n.º 2
0
        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());
        }
Exemplo n.º 3
0
        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());
        }