public void PerimeterTest() { //Arrange RectangleService rectangleService = new RectangleService(); //Act var perimeter = rectangleService.Perimeter(2, 3.5); //Assert Assert.Equal(11, perimeter); }
public void AreaTest() { //Arrange RectangleService rectangleService = new RectangleService(); //Act var area = rectangleService.Area(2, 3.5); //Assert Assert.Equal(7.0, area); }