mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00

* [Solution] Project euler challenge 19 with tests * update leap year function * Remove unnecessary, confusingly placed comments --------- Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
9 lines
228 B
JavaScript
9 lines
228 B
JavaScript
import { problem19 } from '../Problem019.js'
|
|
|
|
describe('checking sundays during the twentieth century', () => {
|
|
// Project Euler Challenge Check
|
|
test('result should be 171', () => {
|
|
expect(problem19()).toBe(171)
|
|
})
|
|
})
|