diff --git a/.forge/BAIS-REVIEW-1783807356-attempt-1.md b/.forge/BAIS-REVIEW-1783807356-attempt-1.md deleted file mode 100644 index e67840e..0000000 --- a/.forge/BAIS-REVIEW-1783807356-attempt-1.md +++ /dev/null @@ -1,3 +0,0 @@ -# BAIS-REVIEW-1783807356-attempt-1 - -Forge 이슈 작업 브랜치 `forge/BAIS-REVIEW-1783807356-attempt-1`. diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 4a61b6d..0000000 --- a/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - 4.0.0 - - com.klaro.bais - bais-review-e2e - 1.0-SNAPSHOT - jar - - - 17 - 3.5.14 - - - - - - org.springframework.boot - spring-boot-dependencies - ${spring.boot.version} - pom - import - - - - - - - org.springframework.boot - spring-boot-starter - - - org.springframework.boot - spring-boot-starter-test - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring.boot.version} - - - - diff --git a/src/main/java/com/klaro/bais/PaymentService.java b/src/main/java/com/klaro/bais/PaymentService.java deleted file mode 100644 index 0dd58ad..0000000 --- a/src/main/java/com/klaro/bais/PaymentService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.klaro.bais; - -public class PaymentService { - - public boolean approve(long amount) { - return amount > 0; - } -} diff --git a/src/test/java/com/klaro/bais/PaymentServiceTest.java b/src/test/java/com/klaro/bais/PaymentServiceTest.java deleted file mode 100644 index 6695999..0000000 --- a/src/test/java/com/klaro/bais/PaymentServiceTest.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.klaro.bais; - -import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; - -class PaymentServiceTest { - - private final PaymentService paymentService = new PaymentService(); - - @Test - void testApprovePositiveAmount() { - assertTrue(paymentService.approve(100)); // 100 should be approved - } - - @Test - void testApproveZeroAmount() { - assertFalse(paymentService.approve(0)); // 0 should not be approved - } - - @Test - void testApproveNegativeAmount() { - assertFalse(paymentService.approve(-100)); // Negative should not be approved - } -}