bin.testcase_class Namespace Reference

Classes

class  testcase
 

Functions

def shell_command (cmdlist)
 
def compare_default (stest, strial, tol, l_limit, flog)
 
def compare_lists (stest, strial, x_col, y_col, tol, l_limit, flog)
 
def compare_analytic (stest, strial, x_col, y_col, function, tol, flog)
 

Function Documentation

◆ compare_analytic()

def bin.testcase_class.compare_analytic (   stest,
  strial,
  x_col,
  y_col,
  function,
  tol,
  flog 
)
 compare x- and y- data of two lists from two files via linear interpolation
 - ignore all strings which start with '#'
 - use relative tolerance 'tol'
 - compare test file 'stest' against an analytic solution
 - x_col is the index of the x-column
 - y_col is the index of the y-column
 - function is a list of functions, representing the behavior of the specific columns
 - flog is a log file

Definition at line 200 of file testcase_class.py.

◆ compare_default()

def bin.testcase_class.compare_default (   stest,
  strial,
  tol,
  l_limit,
  flog 
)
 compare text data from two files
 - ignore all strings which start with '#'
 - use relative tolerance 'tol'
 - compare test file 'stest' against trial file 'strial'
 - flog is a log file

Definition at line 15 of file testcase_class.py.

◆ compare_lists()

def bin.testcase_class.compare_lists (   stest,
  strial,
  x_col,
  y_col,
  tol,
  l_limit,
  flog 
)
 compare x- and y- data of two lists from two files via linear interpolation
 - ignore all strings which start with '#'
 - use relative tolerance 'tol'
 - compare test file 'stest' against trial file 'strial'
 - x_col is the index of the x-column, this column should be monotonic increasing
 - y_col is the index of the y-column
 - flog is a log file

Definition at line 84 of file testcase_class.py.

Here is the call graph for this function:

◆ shell_command()

def bin.testcase_class.shell_command (   cmdlist)

Definition at line 8 of file testcase_class.py.