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

Solutions #181

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

Solutions #181

wants to merge 4 commits into from

Conversation

radhikasct
Copy link

No description provided.

christie and others added 4 commits July 12, 2016 20:38
This solution refactors `cat_generator` into a glue between
two responsibilities: generating a name and generating a birthday.
When we gave this tutorial at Pycon 2016, some of the
students found the solution confusing since it uses
parameterized fixtures, which at this point in the
tutorial we have not introduced.

I have kept the parameterized fixtures around so that
we can refer to them in step 7 on parameterization.
Added tests that provide full coverage for the
is leap year algorithm. The rules seem pretty
arbitrary but I referred to the wikipedia article
for more clarity:
https://en.wikipedia.org/wiki/Leap_year#Gregorian_calendar
@coveralls
Copy link

coveralls commented Jul 30, 2018

Coverage Status

Coverage increased (+62.1%) to 98.889% when pulling 4db7b35 on solutions into d5fd52c on master.

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.

3 participants