public void TestAddition(double a, double b, double c) { RealFieldElement elementA = a; RealFieldElement elementB = b; RealFieldElement elementC = c; Assert.IsTrue(Field.ElementsEqual(Field.Add(elementA, elementB), elementC)); }
public void TestElement(string matrixKey, int i, int j, double element) { Matrix <RealFieldElement> matrix = TestRealMatrices[matrixKey]; Assert.IsTrue(TestRealField.ElementsEqual(matrix[i, j], element)); }