public void NewTriangle_NotATriangle_Exception(double a, double b, double c) { Assert.Throws <InvalidFigureValidationException>(() => FlatFigureFabric.CreateTriangle(a, b, c)); }
public void NewTriangle_PositiveSides_OK(double a, double b, double c) { Assert.DoesNotThrow(() => FlatFigureFabric.CreateTriangle(a, b, c)); }