public void GCDofRowTest1() { double[,] m = { { 0, 5, 8 }, { 12, 9, 3 }, { 1, 7, 9 } }; ChemEqnMatrix cm = new ChemEqnMatrix(m); double expected = 3; double results = cm.GCDofRow(1); Assert.AreEqual(expected, results); }
public void GCDofRowTest1() { double[,] m = { { 0, 5, 8 }, { 12, 9, 3 }, { 1, 7, 9 } }; ChemEqnMatrix cm = new ChemEqnMatrix(m); double expected = 3; double results = cm.GCDofRow(1); Assert.AreEqual(expected, results); }