public function testWordToNumber() { $this->assertEquals(65, Utils::wordToNumber('sixty five')); $this->assertEquals(892, Utils::wordToNumber('eight hundred ninety two')); $this->assertEquals(5438, Utils::wordToNumber('five thousand and four hundred thirty eight')); }
/** * Return absolute path for relative path * * @param string $autoloader * * @return string */ function getroot($autoloader) { return Utils::getRoot($autoloader); }