public function testDirectProduct(array $A, array $B, array $expected)
{
$A = new Vector($A);
$B = new Vector($B);
$AB = $A->directProduct($B);
$expected = new Matrix($expected);
$this->assertEquals($expected->getMatrix(), $AB->getMatrix());
}