Ejemplo n.º 1
0
 function testOrdinal()
 {
     $num = 22;
     $ord = \qtil\StringUtil::ordinal($num);
     $this->assertEquals('22nd', $ord);
 }