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

Add tests for Circle exercise #187

Open
PythonCHB opened this issue Jun 17, 2019 · 0 comments
Open

Add tests for Circle exercise #187

PythonCHB opened this issue Jun 17, 2019 · 0 comments

Comments

@PythonCHB
Copy link
Contributor

There are a number of subtleties to the Circle exercise:

  • does += mutate the existing Circle?
  • does *, / etc all work with both floats and ints?

Probably many more.

So maybe we should have a robust set of unit tests for much of that.

The trick is that we want the students to write their own tests, rather than simply working with pre-defined tests ...

So I'm not sure how to present that. Maybe point them to the full test suite after they have completed the assignment?

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

No branches or pull requests

1 participant