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

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

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

@DisplayName("ScreenLoginPermissions")
class ScreenLoginPermissionsTest
{
    @Test
    @DisplayName("包含大屏通配权限")
    void all_containsBigScreenWildcard()
    {
        assertTrue(ScreenLoginPermissions.all().contains(ScreenLoginPermissions.BIG_SCREEN_ALL));
        assertEquals(1, ScreenLoginPermissions.all().size());
    }
}
