Esempio n. 1
0
 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'));
 }
Esempio n. 2
0
 /**
  * Return absolute path for relative path
  *
  * @param  string $autoloader
  *
  * @return string
  */
 function getroot($autoloader)
 {
     return Utils::getRoot($autoloader);
 }