tests/GameOfLife/Rules/BaseRuleTest.php
/**
     * Checks whether the constructor works as expected.
     *
     * @covers \Rule\BaseRule::__construct()
     */
Checks whether the constructor works as expected.
Checks whether the constructor works as expected .
public function testCanBeConstructed()
    {
        $rule = new BaseRule();
        $this->assertEquals(array(), $rule->rulesBirth());
        $this->assertEquals(array(), $rule->rulesStayAlive());
    }
public function testCanBeConstructed ( ) { $ rule = new BaseRule ( ) ; $ this -> assertEquals ( array ( ) , $ rule -> rulesBirth ( ) ) ; $ this -> assertEquals ( array ( ) , $ rule -> rulesStayAlive ( ) ) ; }
Checks whether the constructor works as expected.
Checks whether the constructor works as expected .