Eris\Quantifier\SizeTest::testAllowsLinearGrowth PHP Method

testAllowsLinearGrowth() public method

    public function testAllowsLinearGrowth()
    {
        $size = Size::withLinearGrowth(1000);
        $this->assertEquals(0, $size->at(0));
        $this->assertEquals(1, $size->at(1));
        $this->assertEquals(2, $size->at(2));
        $this->assertEquals(3, $size->at(3));
        $this->assertEquals(4, $size->at(4));
    }