public function testDotProduct(array $A, array $B, $dot_product) { $A = new Vector($A); $B = new Vector($B); $this->assertEquals($dot_product, $A->dotProduct($B)); }