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

all tests are passing #21

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

Conversation

mikeadeleke
Copy link

Would like to know though if they were good tests!

@@ -38,6 +38,9 @@ def full?
@meals > 30
end

def feed(food)
Copy link
Member

Choose a reason for hiding this comment

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

Why is this method empty?

@jwo
Copy link
Member

jwo commented Feb 11, 2014

Would like to know though if they were good tests!

The 4 tests that did something were fine -- but the one I commented on was no good.

@mikeadeleke
Copy link
Author

How is this looking?

@jwo
Copy link
Member

jwo commented Feb 12, 2014

Not great, honestly.

Do you feel returning true, always, is valuable? Or, should you return the food that's acceptable to the animal passed in? And, check that the food passed in in of that type?

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