Ejemplo n.º 1
0
        public void ToCheckWeatherTheTypeIS_Shape_ReturnTrue()
        {
            var  factoryProducerDef = new FactoryProducerDefination();
            bool result             = factoryProducerDef.isShape("shape");

            Assert.AreEqual(true, result);
        }
Ejemplo n.º 2
0
        public void isShape()
        {
            //assign
            bool   result;
            String type;
            FactoryProducerDefination fp = new FactoryProducerDefination();

            //act
            type   = "shape";
            result = fp.isShape(type);

            //assert
            Assert.IsTrue(result);
        }