MathPHP\LinearAlgebra\MatrixOperationsTest::testAugment PHP Method

testAugment() public method

public testAugment ( array $A, array $B, array $⟮A∣B⟯ )
$A array
$B array
$⟮A∣B⟯ array
    public function testAugment(array $A, array $B, array $⟮A∣B⟯)
    {
        $A = MatrixFactory::create($A);
        $B = MatrixFactory::create($B);
        $⟮A∣B⟯ = MatrixFactory::create($⟮A∣B⟯);
        $this->assertEquals($⟮A∣B⟯, $A->augment($B));
    }
MatrixOperationsTest