Testing fastmat Classes and Unit Tests

Fastmat type identifiers

fastmat.inspect.test

class fastmat.inspect.test.TEST

Bases: fastmat.inspect.common.NAME

ALG = 'algorithm'
ALGORITHM = 'algorithm'
ALG_ARGS = 'algorithmArgs'
ALG_KWARGS = 'algorithmKwargs'
ALG_MATRIX = 'algorithmMatrix'
ARGS = 'testArgs'
CHECK_DATATYPE = 'checkDataType'
CHECK_PROXIMITY = 'checkProximity'
CLASS = 'class'
DATAALIGN = 'dataAlign'
DATAARRAY = 'arrData'
DATACENTER = 'dataDistCenter'
DATACOLS = 'numVectors'
DATAGEN = 'dataGenerator'
DATASHAPE = 'dataShape'
DATASHAPE_T = 'dataShapeBackward'
DATATYPE = 'dataType'
IGNORE = 'ignore'
INIT = 'init'
INITARGS = 'args'
INITKWARGS = 'kwargs'
INIT_VARIANT = 'initVariant'
INSTANCE = 'instance'
KWARGS = 'testKwargs'
NAMING = 'naming'
NAMINGARGS = 'namingArgs'
NUM_COLS = 'numCols'
NUM_ROWS = 'numRows'
OBJECT = 'object'
PARAMALIGN = 'alignment'
QUERY = 'query'
REFALG = 'refAlgorithm'
REFALG_ARGS = 'refAlgorithmArgs'
REFALG_KWARGS = 'refAlgorithmKwargs'
REFERENCE = 'reference'
RESULT_IGNORED = 'testResultIgnored'
RESULT_INFO = 'testInfo'
RESULT_INPUT = 'testInput'
RESULT_OUTPUT = 'testOutput'
RESULT_PROX = 'testResultProximity'
RESULT_REF = 'testReference'
RESULT_TOLERR = 'testTolError'
RESULT_TYPE = 'testResultType'
TOL_MINEPS = 'tolMinEps'
TOL_POWER = 'tolPower'
TRANSFORMS = 'transform'
TYPE_EXPECTED = 'typeExpected'
TYPE_PROMOTION = 'typePromotion'
class fastmat.inspect.test.Test(targetClass, **options)

Bases: fastmat.inspect.common.Worker

Short summary.

Parameters:
targetClass : type

Description of parameter targetClass.

**options : type

Description of parameter **options.

Attributes:
_verboseFull : type

Description of attribute _verboseFull.

__init__(targetClass, **options)

Short summary.

Parameters:
targetClass : type

Description of parameter targetClass.

**options : type

Description of parameter **options.

Returns:
type

Description of returned object.

findProblems(nameTarget, targetResult)

Short summary.

Parameters:
nameTarget : type

Description of parameter nameTarget.

targetResult : type

Description of parameter targetResult.

Returns:
type

Description of returned object.

printStatus(nameTest, resultTest, lenName=-1, descrVariants='')

Short summary.

Parameters:
nameTest : type

Description of parameter nameTest.

resultTest : type

Description of parameter resultTest.

lenName : type

Description of parameter lenName.

descrVariants : type

Description of parameter descrVariants.

Returns:
type

Description of returned object.

verbosity
fastmat.inspect.test.compareResults(test, query)

Short summary.

Parameters:
test : type

Description of parameter test.

query : type

Description of parameter query.

Returns:
type

Description of returned object.

fastmat.inspect.test.formatResult(result)

Short summary.

Parameters:
result : type

Description of parameter result.

Returns:
type

Description of returned object.

fastmat.inspect.test.initTest(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testAlgorithm(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testArray(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testArrays(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testBackward(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testColNorms(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testColNormsColNormalized(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testConjugate(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testFailDump(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testForward(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testGetColsMultiple(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testGetColsSingle(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testGetItem(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testGetRowsMultiple(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testGetRowsSingle(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testGram(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testHermitian(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testInterface(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testLargestSV(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testRowNormalized(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testRowNorms(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.testTranspose(test)

Short summary.

Parameters:
test : type

Description of parameter test.

Returns:
type

Description of returned object.

fastmat.inspect.test.tryQuery(nameTest, query, argument)