public function testTwoWAyExceptionDifferentNumbersOfFactorElements() { $A₁ = [[106, 110], [95, 100]]; $A₂ = [[106, 110, 200], [95, 100]]; $this->setExpectedException('MathPHP\\Exception\\BadDataException'); ANOVA::twoWay($A₁, $A₂); }