Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
68bec96
add: 프로젝트 생성
kys0411 Jun 15, 2023
cf23519
feat: 사용자로부터 입력을 받는 input 기능 추가
kys0411 Jun 15, 2023
05d70c2
feat: 실제 연산을 하는 Operator enum 추가
kys0411 Jun 15, 2023
7c1c337
add: string을 후위표기법으로 변환하는 역할을 하는 Converter 추가
kys0411 Jun 15, 2023
094970a
feat: convert 기능 추가
kys0411 Jun 15, 2023
cfaafcd
add: ExpressionParam class 추가
kys0411 Jun 15, 2023
fc49c06
add: 공통적으로 필요한 기호를 다루기 위한 enum 추가
kys0411 Jun 15, 2023
49c8db2
add: 계산 결과가 담긴 ExpressionResult 객체 추가
kys0411 Jun 15, 2023
80ffc94
feat: 계산 결과를 출력하기 위한 toString 추가
kys0411 Jun 15, 2023
ecf392a
feat: priority getter 추가
kys0411 Jun 15, 2023
ca311d5
feat: symbol -> Operator 객체를 반환하는 메서드 추가
kys0411 Jun 15, 2023
877a885
feat: symbol에 따라서 계산 결과를 반환하는 메서드 추가
kys0411 Jun 15, 2023
6044285
feat: 연산자인지 숫자인지 검사하는 메서드 추가
kys0411 Jun 15, 2023
fc7c321
add: 저장소 역할을 하는 Repository interface 추가
kys0411 Jun 15, 2023
203af82
feat: ExpressionRepository 추가
kys0411 Jun 15, 2023
d2698ad
add: ConsoleInput의 추상체인 Input interface 추가
kys0411 Jun 15, 2023
5368a15
feat: 출력 기능을 하는 ConsoleOutput 추가
kys0411 Jun 15, 2023
6537a0f
add: ConsoleOutput의 추상체인 Output interface 추가
kys0411 Jun 15, 2023
78a44d7
feat: 사용자의 선택에 관련된 상수들을 enum 으로 분류
kys0411 Jun 15, 2023
88868e3
feat: calculate 기능 추가
kys0411 Jun 15, 2023
81d9063
feat: controller 추가
kys0411 Jun 15, 2023
c0e7d79
add: console 추가
kys0411 Jun 15, 2023
44992f7
add: main 코드 추가
kys0411 Jun 15, 2023
b96719c
refactor: 변수 이름 변경
kys0411 Jun 15, 2023
f9a13e9
chore: 예외 메시지 변경
kys0411 Jun 15, 2023
2189941
refactor: 변수 이름 변경
kys0411 Jun 15, 2023
c102eac
refactor: 필드를 생성자 주입으로 변경
kys0411 Jun 15, 2023
5c33e55
chore: 코드 컨벤션 수정
kys0411 Jun 15, 2023
0419dfd
chore: 패키지 구조 변경
kys0411 Jun 15, 2023
13506b2
chore: 패키지 구조 변경
kys0411 Jun 15, 2023
3e05ccd
test: calculator 테스트 코드 추가
kys0411 Jun 16, 2023
cebd518
test: operator 테스트 코드 추가
kys0411 Jun 16, 2023
63227b7
test: converter 테스트 코드 추가
kys0411 Jun 16, 2023
42b3ec8
test: repository 테스트 코드 추가
kys0411 Jun 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
69 changes: 0 additions & 69 deletions README.md

This file was deleted.

19 changes: 19 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugins {
id 'java'
}

group = 'org.example'
version = '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}

test {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Thu Jun 15 20:24:08 KST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading