审查视图

simplewind/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php 280 字节
董瑞恩 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php
namespace Qiniu\Tests;

use Qiniu;

class Base64Test extends \PHPUnit_Framework_TestCase
{
    public function testUrlSafe()
    {
        $a = '你好';
        $b = \Qiniu\base64_urlSafeEncode($a);
        $this->assertEquals($a, \Qiniu\base64_urlSafeDecode($b));
    }
}