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

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

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

@DisplayName("AiConsultDiseaseWarningRules")
class AiConsultDiseaseWarningRulesTest
{
    @Test
    @DisplayName("预警文案")
    void buildAlertMessage()
    {
        String msg = AiConsultDiseaseWarningRules.buildAlertMessage("巴青区", 3);
        assertEquals("巴青区本月截止当前时间AI问诊记录集中（3条），触发疫病预警。", msg);
    }
}
