<?php
/**
 *
 * @date ct
 * @author JZW
 **/


namespace Test\Account;


use Framework\Lib\Utils;
use Game\Logic\AIRoleLogic;
use Game\Logic\CarLogic;
use Test\TestBase;

class TestRole extends TestBase
{
    use AIRoleLogic;
    use CarLogic;

    public function getPlayerId(): int
    {
        return 288430132433007475;
    }

    public function startTest()
    {
//        $this->cAIRole(288430132433007475);
        // 字段对应表
//        $data = array (
//            'BaseSpeed' => 0.115,
//            'NitrogenSpeed' => '0',
//            'JetSpeed' => '0',
//            'BaseAccelerate' => 0.14,
//            'NitrogenAccelerate' => '0',
//            'JetAccelerate' => '0',
//            'NitrogenTime' => '0',
//            'JetTime' => '0',
//            'GasCollection' => '0',
//            'Durability' => '0',
//            'RandomAttr' => '{"111":1}',
//        );
//        $this->getTest(1, $data);
        echo count(array("",1));
        var_dump(empty(array("")));

        $b = [0,1];
        $c = [0,1,2,3,4,5,6,7,63];
        foreach ($b as $i2){
            foreach($c as $i3){
                if ($i2 == 1){
                    $d = "男";
                }else{
                    $d = "女";
                }
                echo sprintf("%s性别-%s段位::%s", $d, $i3, Utils::makeFriendsScore($i2, $i3))."<br>";
            }
        }
    }
}