blackjack-with-tdd's People
blackjack-with-tdd's Issues
Test method naming
주석으로 해당 테스트가 뭘하는지 적으셨는데,
함수명으로 무슨 테스트인지 적으면 굳이 주석을 달 필요도 없고, 코드 보는 사람이 주석을 읽을 필요도 없을꺼 같네요.
e.g.
ShouldBeTwoUsers()
ShouldHaveTwoCards()
그리고 위너 구하는건, 이미 내부자체에서 테스트가 진행되니, 제대로 테스트가 진행됐는지 알수가 없고,
차라리 카드를 하드코드 하게 줘서, (한명은 16, 한명은 19) 19가 당연히 이긴 결과가 나오게 명확하게 하는게 좀더 보기 좋을꺼같아요.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.