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

Sieve of Eratosthenes #49

Merged
merged 7 commits into from
Nov 19, 2017
Merged

Sieve of Eratosthenes #49

merged 7 commits into from
Nov 19, 2017

Conversation

maxm2017
Copy link
Contributor

Adding Sieve of Eratosthenes implementation and test

An algorithm to generate all prime numbers up to a certain number
Tests the Sieve of Eratosthenese implementation
@aalhour
Copy link
Owner

aalhour commented Oct 16, 2017

Hi @maxm2017,

Thanks for contributing. I will shortly review your PR.

Cheers,
Ahmad

@aalhour aalhour assigned aalhour and maxm2017 and unassigned aalhour Oct 16, 2017
@aalhour aalhour self-requested a review October 16, 2017 16:01
@@ -0,0 +1,57 @@
using System;
Copy link
Owner

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;
Copy link
Owner

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.

@aalhour aalhour merged commit a9d335e into aalhour:master Nov 19, 2017
MetSystem pushed a commit to MetSystem/C-Sharp-Algorithms that referenced this pull request Sep 6, 2018
* 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
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