public void IsPolygon_ValidSides_ReturnsTrue(IList <int> sides) { var polygonService = new PolygonService(); var result = polygonService.IsPolygon(sides); Assert.True(result); }
public void IsPolygon_OneOrMoreNonPositiveSides_ReturnsFalse(IList <int> sides) { var polygonService = new PolygonService(); var result = polygonService.IsPolygon(sides); Assert.False(result); }
public void IsPolygon_PositiveButInvalidSides_ReturnsFalse(IList <int> sides) { var polygonService = new PolygonService(); var result = polygonService.IsPolygon(sides); Assert.False(result); }
public void IsPolygon_LessThanThreeSides_ReturnsFalse(IList <int> sides) { var polygonService = new PolygonService(); var result = polygonService.IsPolygon(sides); Assert.False(result); }