package
1.4.1
Repository: https://github.com/wissance/gwuu.git
Documentation: pkg.go.dev

# Functions

CheckComplexes This function allow us to compare two arrays Complex with order and without it with tolerance applying to real and imaginary part independently * This function could work without assert (see assertErr param) * Parameters: * - t is Test State, because we provide functions to check equality in tests * - expected - one array of complex64 * - actual - another array of complex64 * - tolerance - tolerance between array items, used as math.abs(real(expected) - real(actual)) < tolerance && * math.abs(imag(expected) - imag(actual)) < tolerance * - checkOrder - parameter that is responsible for check data with respect to order of arrays items * - assertErr - assert if True otherwise just use a result to check whether error occurred or not * Functions return nothing and asserts if arrays are not equals * Returns (true, empty str) if there is no assert fail, otherwise - false + reason */.
CheckFloats This function allow us to compare two arrays of Float with order and without it with tolerance * This function could work without assert (see assertErr param) * Parameters: * - t is Test State, because we provide functions to check equality in tests * - expected - one array of float32 * - actual - another array of float32 * - tolerance - tolerance between array items, used as math.abs(expected - actual) < tolerance * - checkOrder - parameter that is responsible for check data with respect to order of arrays items * - assertErr - assert if True otherwise just use a result to check whether error occurred or not * Functions return nothing and asserts if arrays are not equals * Returns (true, empty str) if there is no assert fail, otherwise - false + reason */.
CheckNumeric This function allow us to compare two arrays of Numeric values with order and without it * This function could work without assert (see assertErr param) * Parameters: * - t is Test State, because we provide functions to check equality in tests * - expected - one array of int * - actual - another array of int * - checkOrder - parameter that is responsible for check data with respect to order of arrays items * - assertErr - assert if True otherwise just use a result to check whether error occurred or not * Functions return nothing and asserts if arrays are not equals * Returns (true, empty str) if there is no assert fail, otherwise - false + reason */.
CheckStrings This function allow us to compare two arrays of Strings with order and without it and with asserts (assertErr is true) and without order * This function could work without assert (see assertErr param) * Parameters: * - t is Test State, because we provide functions to check equality in tests * - expected - one array of strings * - actual - another array of strings * - checkOrder - parameter that is responsible for check data with respect to order of arrays items * - assertErr - assert if True otherwise just use a result to check whether error occurred or not * Functions return nothing and asserts if arrays are not equals * Returns (true, empty str) if there is no assert fail, otherwise - false + reason */.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author