public function testBase60() { ob_start(); num_to_sxg(503194); $result = ob_get_clean(); $this->assertEquals('', $result); }
/** * @dataProvider toSxgDataProvider */ public function testNumToSxg($expected, $input) { $this->assertEquals($expected, num_to_sxg($input)); }
function whistle_short_path($p) { return strcat(substr($p, 9, 1), substr($p, 9, 1) !== 't' ? "/" : "", yd_to_sdf(substr($p, 0, 8), 3), num_to_sxg(substr($p, 10, 3))); }