public void FindScalarsTest() { String s1 = "CO2 + H2O = C6H12O6 + O2"; ChemEqnMatrix cm = new ChemEqnMatrix(s1); double[] expected = { 1, 2 }; double[] results = cm.FindScalars(0, 1); for (int j = 0; j < 2; j++) { Assert.AreEqual(expected[j], results[j]); } }