tests/EvaluateNumberTest.php
/**
	 * invoke() should return int if value is an ordinal string (e.g., "first")
	 */
invoke() should return int if value is an ordinal string
invoke () should return int if value is an ordinal string
public function testInvokeReturnsIntIfValueIsAnOrdinalString()
	{
		$this->assertEquals(1, (new EvaluateNumber())('first'));
		return;
	}
public function testInvokeReturnsIntIfValueIsAnOrdinalString ( ) { $ this -> assertEquals ( 1 , ( new EvaluateNumber ( ) ) ( 'first' ) ) ; return ; }
invoke() should return int if value is an ordinal string (e.g., "first")
invoke () should return int if value is an ordinal string ( e . g . " first " )