public void Producer_Pickrobot_isRobot() { var id = Guid.NewGuid(); var rob = prod.PickRobot(id); Assert.IsTrue(rob is Robot); }
public IField StartApp() { Player p = new Player("azazalo"); IRobotProducer rp = new RobotProducer(); Robot MyRobot = rp.PickRobot(p.PlayerId); IFieldBuilder b = new FieldBuilder(); this.builder = b; var field = builder.CreateField(10, 10, MyRobot); return(field); }