Skip to content

Commit

Permalink
Re-enabled problem 10 now that the Project Euler tests run in their o…
Browse files Browse the repository at this point in the history
…wn suite.
  • Loading branch information
dchambers committed Oct 7, 2014
1 parent 78c046c commit de5162c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/project-euler/problem10.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ describe('Project Euler Problem #10', function() {
expect(primes().limit(lessThan(10)).sum()).toBe(17);
});

// Note: commented out because it adds about 5 seconds to the test time
// it('displays the sum of all primes below 2000000', function() {
// expect(primes().limit(lessThan(2000000)).sum()).toBe(142913828922);
// });
it('displays the sum of all primes below 2000000', function() {
expect(primes().limit(lessThan(2000000)).sum()).toBe(142913828922);
});
});

0 comments on commit de5162c

Please sign in to comment.