public void GetArea_PositiveTestResult(double squareSide, double expectedArea) { FilmSquare actualFilmSquare = new FilmSquare(new List <double> { squareSide }); Assert.AreEqual(expectedArea, actualFilmSquare.GetArea()); }
public void GetArea_NewRectangle_GetArea() { var actual = 144; // act var expected = new FilmSquare(new List <double> { 12 }); // assert; Assert.Equal(expected.GetArea(), actual); }