package com.ruoyi.web.modules.farming.support;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

@DisplayName("TechResourceRules")
class TechResourceRulesTest
{

    @Test
    @DisplayName("专家分配账号角色权限字符")
    void expertRoleKey()
    {
        assertEquals("exp", TechResourceRules.ROLE_KEY_EXPERT);
        assertFalse(TechResourceRules.canAssignAccount(TechResourceRules.RESOURCE_TYPE_ACHIEVEMENT));
    }
}
