public function testTruncatedMeanExceptionLessThanZeroTrimPercent() { $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException'); Average::TruncatedMean([1, 2, 3], -4); }