Skip to content

Add Pascals Triangle Test Generator #418

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

Closed
jpreese opened this issue Sep 6, 2017 · 2 comments
Closed

Add Pascals Triangle Test Generator #418

jpreese opened this issue Sep 6, 2017 · 2 comments

Comments

@jpreese
Copy link
Contributor

jpreese commented Sep 6, 2017

This issue is part of an overall initiative to complete #195.

The documentation on how to add generators can be found here. If you get stuck or have any questions about adding this generator, please do not hesitate to reach out!

@bmeverett
Copy link
Contributor

I'll take a look at this one as well. I think I got most of it, just trying to figure out the last two cases that are null and return -1

@ErikSchierboom
Copy link
Member

@bmeverett Those inputs should throw an exception. To get that behavior in a generator, checkout this code: https://github.com/exercism/csharp/blob/9e4635b7dfc304c3985795054398d0a6402a9941/generators/Exercises/NthPrime.cs

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

No branches or pull requests

3 participants