Extension\Optimizers\MathTest::testCos PHP Метод

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

public testCos ( )
    public function testCos()
    {
        $t = new Cos();
        $this->assertSame(cos(4), $t->testInt());
        $this->assertSame(cos(4), $t->testVar());
        $this->assertSame(cos(4), $t->testIntValue1());
        $this->assertSame(cos(16), $t->testIntValue2());
        $this->assertSame(cos(4), $t->testIntParameter(4));
        $this->assertSame(cos(16), $t->testIntParameter(16));
        $this->assertSame(cos(4), $t->testVarParameter(4));
        $this->assertSame(cos(16), $t->testVarParameter(16));
    }