PHP 클래스 NumPHPTest\Core\NumArray\Reduce\SumTest

부터: 1.0.0
저자: Gordon Lesti ([email protected])
상속: extends NumPHPTest\Core\Framework\TestCase
파일 보기 프로젝트 열기: numphp/numphp

공개 메소드들

메소드 설명
testSumMatrix ( ) Tests NumArray::sum with a matrix without arguments
testSumMatrix2x3x4Axis2 ( ) Tests NumArray::sum with a 2x3x4 matrix and argument 2
testSumMatrixAxis0 ( ) Tests NumArray::sum with a matrix and argument 0
testSumMatrixAxis1 ( ) Tests NumArray::sum with a matrix and argument 1
testSumMatrixAxis2 ( ) Tests if InvalidArgumentException will be thrown by using NumArray::sum and a wrong axis on a matrix
testSumSingle ( ) Tests NumArray::sum with scalar value without arguments
testSumSingleAxis0 ( ) Tests NumArray::sum with scalar value with argument 0
testSumSingleAxis1 ( ) Tests if InvalidArgumentException will be thrown by using NumArray::sum and a wrong axis on a scalar value
testSumVector ( ) Tests NumArray::sum with a vector without arguments
testSumVectorAxis0 ( ) Tests NumArray::sum with a vector and argument 0
testSumVectorAxis1 ( ) Tests if InvalidArgumentException will be thrown by using NumArray::sum and a wrong axis on a vector

메소드 상세

testSumMatrix() 공개 메소드

Tests NumArray::sum with a matrix without arguments
public testSumMatrix ( )

testSumMatrix2x3x4Axis2() 공개 메소드

Tests NumArray::sum with a 2x3x4 matrix and argument 2

testSumMatrixAxis0() 공개 메소드

Tests NumArray::sum with a matrix and argument 0
public testSumMatrixAxis0 ( )

testSumMatrixAxis1() 공개 메소드

Tests NumArray::sum with a matrix and argument 1
public testSumMatrixAxis1 ( )

testSumMatrixAxis2() 공개 메소드

Tests if InvalidArgumentException will be thrown by using NumArray::sum and a wrong axis on a matrix
public testSumMatrixAxis2 ( )

testSumSingle() 공개 메소드

Tests NumArray::sum with scalar value without arguments
public testSumSingle ( )

testSumSingleAxis0() 공개 메소드

Tests NumArray::sum with scalar value with argument 0
public testSumSingleAxis0 ( )

testSumSingleAxis1() 공개 메소드

Tests if InvalidArgumentException will be thrown by using NumArray::sum and a wrong axis on a scalar value
public testSumSingleAxis1 ( )

testSumVector() 공개 메소드

Tests NumArray::sum with a vector without arguments
public testSumVector ( )

testSumVectorAxis0() 공개 메소드

Tests NumArray::sum with a vector and argument 0
public testSumVectorAxis0 ( )

testSumVectorAxis1() 공개 메소드

Tests if InvalidArgumentException will be thrown by using NumArray::sum and a wrong axis on a vector
public testSumVectorAxis1 ( )