LCF 공통 프레임워크 매핑 규칙 정의 (BAIS-SPRING-ARC-002)
Some checks failed
ci / test (pull_request) Failing after 9s
ci / test (push) Failing after 9s

This commit is contained in:
forge-bot 2026-07-10 13:30:45 +00:00
parent 94f5802531
commit 5203a15252

View file

@ -0,0 +1,24 @@
package com.example.lcf;
import org.junit.jupiter.api.Test;
import static org.mockito.Mockito.*;
import static org.junit.jupiter.api.Assertions.*;
class LcfMappingRulesTest {
@Test
void testLcfTry() {
LcfMappingRules rules = new LcfMappingRules();
Runnable action = mock(Runnable.class);
doThrow(new RuntimeException("Test Exception")).when(action).run();
rules.lcfTry(action);
// 예외가 발생했는지 확인하는 로직 추가
}
@Test
void testPerformDecimalOperation() {
LcfMappingRules rules = new LcfMappingRules();
double result = rules.performDecimalOperation(5.0, 3.0);
assertEquals(8.0, result);
}
}