public void TestCheckVariablesTauMoreThanInterval() { DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, differentialEquationSystem.LeftVariables, differentialEquationSystem.TimeVariable, 100, differentialEquationSystem.TEnd); }
public void TestCheckVariablesTimeVariableMoreThanTEnd() { DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, differentialEquationSystem.LeftVariables, new Variable("time", 100), differentialEquationSystem.Tau, differentialEquationSystem.TEnd); }
public void TestCheckVariablesTauLessThanZero() { DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, differentialEquationSystem.LeftVariables, differentialEquationSystem.TimeVariable, -100, differentialEquationSystem.TEnd); }
public void TestCheckVariablesTimeVariableNull() { DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, differentialEquationSystem.LeftVariables, null, differentialEquationSystem.Tau, differentialEquationSystem.TEnd); }
public void TestCheckVariablesVariableEmpty() { DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, new List <Variable>(), differentialEquationSystem.TimeVariable, differentialEquationSystem.Tau, differentialEquationSystem.TEnd); }
public void TestCheckVariablesExpressionEmpty() { DifferentialEquationSystemHelpers.CheckVariables( new List <Expression>(), differentialEquationSystem.LeftVariables, differentialEquationSystem.TimeVariable, differentialEquationSystem.Tau, differentialEquationSystem.TEnd); }
public void TestCheckVariablesAllCorrect() { DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, differentialEquationSystem.LeftVariables, differentialEquationSystem.TimeVariable, differentialEquationSystem.Tau, differentialEquationSystem.TEnd); }
public void TestCheckVariablesExpressionNotEqualVariables() { List <Variable> vars = new List <Variable>(); DifferentialEquationSystemHelpers.CopyVariables(differentialEquationSystem.LeftVariables, vars); vars.Add(new Variable("x1", 8)); DifferentialEquationSystemHelpers.CheckVariables( differentialEquationSystem.ExpressionSystem, vars, differentialEquationSystem.TimeVariable, differentialEquationSystem.Tau, differentialEquationSystem.TEnd); }