Package com.singularsys.jeptests.unit
Class JepUnitTest
java.lang.Object
com.singularsys.jeptests.unit.JepUnitTest
Unit tests for the main
Jep class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
JepUnitTest
public JepUnitTest()
-
-
Method Details
-
test_rootNodeToString
- Throws:
ParseException
-
test_rootNodeToString_returns_null_if_no_equation_parsed
- Throws:
ParseException
-
test_setComponentsInternal
@Test public void test_setComponentsInternal() -
test_tryAddConstant
@Test public void test_tryAddConstant() -
test_NullStringInParse
@Test public void test_NullStringInParse() -
addVariable_creates_name_new_variable_if_none_exists
- Throws:
JepException
-
addVariable_modifies_existing_variable
- Throws:
JepException
-
addVariable_creates_new_variable_if_none_exists
- Throws:
JepException
-
addVariable_thows_exception_if_existing_constant
- Throws:
JepException
-
setVariableValue_returns_false_if_variable_does_not_exist
@Test public void setVariableValue_returns_false_if_variable_does_not_exist() -
setVariableValue_returns_false_if_variable_is_constant
- Throws:
JepException
-
setVariableValue_set_value_and_returns_true_if_variable_exists
@Test public void setVariableValue_set_value_and_returns_true_if_variable_exists() throws JepException- Throws:
JepException
-
setVariable_create_new_variable_if_doesent_exist
- Throws:
JepException
-
setVariable_modifies_existing_variable
- Throws:
JepException
-
setVariable_returns_null_if_existing_constant
- Throws:
JepException
-