public void GetArea_PositiveTestResult(double rectangleFirstSide, double rectangleSecondSide, double expectedArea) { FilmRectangle actualFilmRectangle = new FilmRectangle(new List <double> { rectangleFirstSide, rectangleSecondSide }); Assert.AreEqual(expectedArea, actualFilmRectangle.GetArea()); }
public void GetArea_NewRectangle_GetArea() { var actual = 168; // act var expected = new FilmRectangle(new List <double> { 12, 14 }); // assert; Assert.Equal(expected.GetArea(), actual); }