public function testPerpDotProduct(array $A, array $B, $expected) { $A = new Vector($A); $B = new Vector($B); $A⊥⋅B = $A->perpDotProduct($B); $this->assertEquals($expected, $A⊥⋅B); }