net.sourceforge.combean.test.mathprog.grooml
Class TestGroomlInterpreter

Field Summary
 GroomlInterpreter builder
           
 double num
           
 
Constructor Summary
TestGroomlInterpreter()
           
 
Method Summary
void auxCheckElemsInSet(List expectedElems, GSet set)
          
void auxCheckTermsInExpression(List expectedTerms, GExpression expr)
          
int calculate(Number i)
          
void setUp()
          
void testAccessToNonExistingProperty()
          
void testAccessToNonExistingVariableIndex()
          
void testAccessToVariablesInEnvironmentWithIndexOperator()
          
void testCreationOfTermsWithSingleVariablesInEnv()
          
void testCreationOfVariables()
          
void testDoubleDefinedRow()
          
void testDoubleDefinedVariable()
          
void testExpr()
          
void testExprOnClosure()
          
void testModelWithAccessToExternalDefinitions()
          
void testModelWithDoubleIndexedVariableAndMultipleRows()
          
void testModelWithDoubleIndexedVariableAndSingleRow()
          
void testModelWithSingleRow()
          
void testNestedSums()
          
void testPlusOperatorOnClosures()
          
void testPlusOperatorOnExpression()
          
void testPlusOperatorOnStrings()
          
void testRowsWithOperatorBasedRowDefinition()
          
void testSetCommandOnRange()
          
void testSetProductOperatorOnList()
          
void testSetProductOperatorOnMap()
          
void testSetProductOperatorOnRange()
          
void testSetProductWithDynamics()
          
void testSingleRow()
          
void testSingleRowWithStringIndices()
          
void testSolveModelAndAccessSolution()
           Test solving models
void testSumWithDoubleIndex()
          
void testSumWithStringExpression()
          
void testSumWithTwoIndices()
          
 

Constructor Detail

TestGroomlInterpreter

TestGroomlInterpreter()


Method Detail

auxCheckElemsInSet

void auxCheckElemsInSet(List expectedElems, GSet set)


auxCheckTermsInExpression

void auxCheckTermsInExpression(List expectedTerms, GExpression expr)


calculate

int calculate(Number i)


setUp

void setUp()


testAccessToNonExistingProperty

void testAccessToNonExistingProperty()


testAccessToNonExistingVariableIndex

void testAccessToNonExistingVariableIndex()


testAccessToVariablesInEnvironmentWithIndexOperator

void testAccessToVariablesInEnvironmentWithIndexOperator()


testCreationOfTermsWithSingleVariablesInEnv

void testCreationOfTermsWithSingleVariablesInEnv()


testCreationOfVariables

void testCreationOfVariables()


testDoubleDefinedRow

void testDoubleDefinedRow()


testDoubleDefinedVariable

void testDoubleDefinedVariable()


testExpr

void testExpr()


testExprOnClosure

void testExprOnClosure()


testModelWithAccessToExternalDefinitions

void testModelWithAccessToExternalDefinitions()


testModelWithDoubleIndexedVariableAndMultipleRows

void testModelWithDoubleIndexedVariableAndMultipleRows()


testModelWithDoubleIndexedVariableAndSingleRow

void testModelWithDoubleIndexedVariableAndSingleRow()


testModelWithSingleRow

void testModelWithSingleRow()


testNestedSums

void testNestedSums()


testPlusOperatorOnClosures

void testPlusOperatorOnClosures()


testPlusOperatorOnExpression

void testPlusOperatorOnExpression()


testPlusOperatorOnStrings

void testPlusOperatorOnStrings()


testRowsWithOperatorBasedRowDefinition

void testRowsWithOperatorBasedRowDefinition()


testSetCommandOnRange

void testSetCommandOnRange()


testSetProductOperatorOnList

void testSetProductOperatorOnList()


testSetProductOperatorOnMap

void testSetProductOperatorOnMap()


testSetProductOperatorOnRange

void testSetProductOperatorOnRange()


testSetProductWithDynamics

void testSetProductWithDynamics()


testSingleRow

void testSingleRow()


testSingleRowWithStringIndices

void testSingleRowWithStringIndices()


testSolveModelAndAccessSolution

void testSolveModelAndAccessSolution()
Test solving models


testSumWithDoubleIndex

void testSumWithDoubleIndex()


testSumWithStringExpression

void testSumWithStringExpression()


testSumWithTwoIndices

void testSumWithTwoIndices()