public void ToCheckWeatherTheTypeIS_Shape_ReturnTrue() { var factoryProducerDef = new FactoryProducerDefination(); bool result = factoryProducerDef.isShape("shape"); Assert.AreEqual(true, result); }
public void isShape() { //assign bool result; String type; FactoryProducerDefination fp = new FactoryProducerDefination(); //act type = "shape"; result = fp.isShape(type); //assert Assert.IsTrue(result); }