public void GetSignsTest() { double[,] m = { { 12, 4, 8 }, { -12, 9, 3 }, { 1, 7, 9 } }; ChemEqnMatrix cm = new ChemEqnMatrix(m); int[] expected = { 1, -1, 1 }; int[] results = cm.GetSigns(); for (int j = 0; j < expected.Length; j++) { Assert.AreEqual(expected[j], results[j]); } }