Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit homework 4 update #38

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Stevenyu163
Copy link

No description provided.

@@ -18,31 +18,66 @@ public static void init() {
}

@Test
public void testGetDaytimeType() {
public void testGetDaytimeType_night_boundCase_1() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this separated tests here. Very much :)
One minor recommendation here - try to not use indexes in test names. You still can make it more meaningful without it. As example this test can be called "testGetDaytimeTypeNightLowerBound" or even better - when_zero_oclock_then_return_night.

@bug-hunterx
Copy link
Owner

Steven, let me come to your desk tomorrow morning. I'm not sure what is changed here after I saw it last time in the office.

In any case I'm glad you spend long time on this task and learn a lot during debuging and troubleshooting That how we become better developers, right? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants