public void CalculateTriangleSurface() { var shapeService = new ShapeService(new TriangleStrategy()); var result = shapeService.Calculate(); Assert.AreEqual(15, result); }
public void CalculateCirckleSurface() { var shapeService = new ShapeService(new CirckleStrategy()); var result = shapeService.Calculate(); Assert.AreEqual(20, result); }