MathPHP\Probability\Distribution\Discrete\BernoulliTest::testPFMIsBinomialWithNEqualsOne PHP Method

testPFMIsBinomialWithNEqualsOne() public method

    public function testPFMIsBinomialWithNEqualsOne()
    {
        $this->assertEquals(Binomial::PMF(1, 0, 0.6), Bernoulli::PMF(0, 0.6));
        $this->assertEquals(Binomial::PMF(1, 1, 0.6), Bernoulli::PMF(1, 0.6));
    }