package dev.sonpx.loyalty.agent.core.workflow;

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

import org.junit.jupiter.api.Test;

class WorkflowPromptBuilderTest {

    @Test
    void cancellationRequiresExplicitStopIntent() {
        assertTrue(WorkflowPromptBuilder.isCancellation("hủy tạo rule này"));
        assertTrue(WorkflowPromptBuilder.isCancellation("cancel"));

        assertFalse(WorkflowPromptBuilder.isCancellation("không giới hạn cap"));
        assertFalse(WorkflowPromptBuilder.isCancellation("không cần schedule"));
    }
}
