public void Test7_MulNum() { MathCalc calc = new MathCalc(); double[,] rezult = calc.MulNum(a, 2); Assert.AreEqual(true, calc.CompareMatrix(f, rezult)); }
public void Test8_Mul() { MathCalc calc = new MathCalc(); double[,] rezult = calc.Mul(a, b); Assert.AreEqual(true, calc.CompareMatrix(g, rezult)); }
public void Test6_Sub() { MathCalc calc = new MathCalc(); double[,] rezult = calc.Sub(a, b); Assert.AreEqual(true, calc.CompareMatrix(e, rezult)); }
public void Test5_Add() { MathCalc calc = new MathCalc(); double[,] rezult = calc.Add(a, b); Assert.AreEqual(true, calc.CompareMatrix(rezult, d)); }
public void Test4_Trans() { MathCalc calc = new MathCalc(); double [,] rezult = calc.Trans(a); Assert.AreEqual(true, calc.CompareMatrix(t, rezult)); }
public void Test3_CompareMatrix() { MathCalc calc = new MathCalc(); bool rezult = calc.CompareMatrix(a, b); Assert.AreEqual(false, rezult); }
public void Test2_CompareMatrix() { MathCalc calc = new MathCalc(); bool rezult = calc.CompareMatrix(a, a); Assert.AreEqual(true, rezult); }