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