Esempio n. 1
0
 public function testGenerateRandomSetsWork()
 {
     for ($i = 0; $i <= 1000; $i++) {
         $tiny = new Tiny(Tiny::generate_set());
         $this->assertEquals($tiny->from($tiny->to($i)), $i);
     }
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  *
  * @param string $str String to elucidate.
  * @return string
  */
 public function elucidate($str)
 {
     return $this->_tiny->from($str);
 }