public void CheckImpartireMatrice() { Init(); //act var expected = matrice1 / matrice2; var actual = CalculatorGenericMath.Divide(matrice1, matrice2); Assert.AreEqual(expected, actual); }
public void CheckScadereMatrice() { Init(); //act var actual = CalculatorGenericMath.Subtract(matrice1, matrice2); var expected = matrice1 - matrice2; Assert.AreEqual(expected, actual); }
public void CheckInmultireMatrice() { Init(); //act var actual = CalculatorGenericMath.Multiply(matrice1, matrice2); var expected = matrice2 * matrice1; Assert.AreEqual(expected, actual); }
public void CheckAdunareMatrice() { Init(); //act var actual = CalculatorGenericMath.Add <Matrix <double> >(matrice1, matrice2); var expected = matrice1 + matrice2; Assert.AreEqual(expected, actual); }