Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
|
|
import { findSpecialPythagoreanTriplet } from '../Problem009.js'
|
||
|
|
|
||
|
|
describe('Pythagorean Triplet', () => {
|
||
|
|
// Project Euler Condition Check
|
||
|
|
test('the multiplication of the pythagorean triplet where a + b + c = 1000', () => {
|
||
|
|
expect(findSpecialPythagoreanTriplet()).toBe(31875000)
|
||
|
|
})
|
||
|
|
})
|