PopTest\Color\CmykTest::testConstructor PHP Метод

testConstructor() публичный Метод

public testConstructor ( )
    public function testConstructor()
    {
        $c = new Cmyk(20, 40, 60, 80);
        $this->assertInstanceOf('Pop\\Color\\Space\\Cmyk', $c);
        $this->assertEquals(20, $c->getCyan());
        $this->assertEquals(40, $c->getMagenta());
        $this->assertEquals(60, $c->getYellow());
        $this->assertEquals(80, $c->getBlack());
    }