The Unittests

Testing upy.decimal2

class upy.test.TestDecimal2(methodName='runTest')[source]

Test suite for upy.decimal2.

TestDecimal2.test_get_leftmost_digit()[source]

Test upy.decimal2.DecimalNumber.get_leftmost_digit().

TestDecimal2.test_str()[source]

Test upy.decimal.DecimalNumber.__str__().

Testing upy.undarray

class upy.test.TestUndarray(methodName='runTest')[source]

The test suite for undarray.

TestUndarray.test_array_same_shape()[source]

Test the array functionality for equal-shaped undarrays.

TestUndarray.test_array_same_shape_exact()[source]

Test the array functionality for one exact operand.

TestUndarray.test_array_inequal_shape()[source]

Test the array functionality for inequally shaped undarrays.

TestUndarray.test_array_inequal_shape_exact()[source]

Test the array functionality for one exact operand and inequally shaped arrays.

TestUndarray.test_averaging()[source]

Test the averaging module.

TestUndarray.test_weight()[source]

Test the .weight() method.

TestUndarray.test_linear_regression()[source]

Test the linear_regression module.

TestUndarray.test_operators_numpyarray()[source]

Test the coercion of numpyarray OP upyarray.

TestUndarray.test_bugsfixes_reproduction()[source]

Tries to reproduce unsorted bugs.

Testing upy.printable.PrintableElement

class upy.test.TestPrintableElement(methodName='runTest')[source]

Test the printable element.

TestPrintableElement.test_print()[source]

Test the printing engine’s precision and exponent determination.

TestPrintableElement.test_sign_print()[source]

Test the sign printing.

Testing upy.printable.PrintableUndarray

class upy.test.TestPrintableUndarray(methodName='runTest')[source]

Tests the upy.printable.PrintableUndarray class.

TestPrintableUndarray.test_print()[source]

Test printing ndim = 2 undarrays.

Table Of Contents

Previous topic

Universal Math Functions

This Page