The SUMO toolbox  2018a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
TestCase Class Reference

This object defines a test case for the unit testing framework. More...

Public Member Functions

 TestCase (String config, boolean merge)
 
boolean isMergeable ()
 
void enableAccuracyCheck (double min, double max)
 
boolean checkAccuracy ()
 
boolean checkExpression ()
 
boolean checkMembers ()
 
void enableSamplesCheck (int min, int max)
 
boolean checkSamples ()
 
void enableSensitivityAnalysisCheck (double[] minSobol, double[] maxSobol, double[] minSobolTotal, double[] maxSobolTotal, double[] minDerivative, double[] maxDerivative)
 
boolean checkSensitivityAnalysis ()
 
String getConfig ()
 
double getMaxAccuracy ()
 
int getMaxSamples ()
 
double getMinAccuracy ()
 
int getMinSamples ()
 
double[] getMinSobol ()
 
double[] getMaxSobol ()
 
double[] getMinSobolTotal ()
 
double[] getMaxSobolTotal ()
 
double[] getMinDerivative ()
 
double[] getMaxDerivative ()
 

Detailed Description

This object defines a test case for the unit testing framework.

Constructor & Destructor Documentation

TestCase ( String  config,
boolean  merge 
)
inline

Member Function Documentation

boolean checkAccuracy ( )
inline
boolean checkExpression ( )
inline
boolean checkMembers ( )
inline
boolean checkSamples ( )
inline
boolean checkSensitivityAnalysis ( )
inline
void enableAccuracyCheck ( double  min,
double  max 
)
inline
void enableSamplesCheck ( int  min,
int  max 
)
inline
void enableSensitivityAnalysisCheck ( double[]  minSobol,
double[]  maxSobol,
double[]  minSobolTotal,
double[]  maxSobolTotal,
double[]  minDerivative,
double[]  maxDerivative 
)
inline
String getConfig ( )
inline
double getMaxAccuracy ( )
inline
double [] getMaxDerivative ( )
inline
int getMaxSamples ( )
inline
double [] getMaxSobol ( )
inline
double [] getMaxSobolTotal ( )
inline
double getMinAccuracy ( )
inline
double [] getMinDerivative ( )
inline
int getMinSamples ( )
inline
double [] getMinSobol ( )
inline
double [] getMinSobolTotal ( )
inline
boolean isMergeable ( )
inline

The documentation for this class was generated from the following file: