-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Sieve of Eratosthenes #49
Conversation
An algorithm to generate all prime numbers up to a certain number
Tests the Sieve of Eratosthenese implementation
Hi @maxm2017, Thanks for contributing. I will shortly review your PR. Cheers, |
Algorithms/SieveOfEratosthenes.cs
Outdated
@@ -0,0 +1,57 @@ | |||
using System; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this file into the Algorithms/Numeric package.
@@ -0,0 +1,34 @@ | |||
using System; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refer to the other tests in this project on how to use Assertions and modify your tests to start asserting for expected values instead of writing them to the standard output.
* Sieve Of Eratosthenes An algorithm to generate all prime numbers up to a certain number * Sieve of Eratosthenes test Tests the Sieve of Eratosthenese implementation * Delete SieveOfEratosthenes.cs * Add files via upload * Delete SieveOfEratosthenesTest.cs * Add files via upload * Added Sieve of Eratosthenes test Added Sieve of Eratosthenes test
Adding Sieve of Eratosthenes implementation and test