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