Пример #1
0
 public void GetSquareEquationRootsTests(double a, double b, double c, double[] expected)
 {
     double[] actual = Branching.GetSquareEquationRoots(a, b, c);
     Assert.AreEqual(expected, actual);
 }
Пример #2
0
 public void GetSquareEquationRootsNegativeTests(double a, double b, double c)
 {
     Assert.Throws <ArgumentException>(() => Branching.GetSquareEquationRoots(a, b, c));
 }