public function testSem(array $X, float $sem) { $this->assertEquals($sem, RandomVariable::sem($X), '', 0.0001); }