README
@secretboy/euler-tests
v0.0.2
Npm package to brush up your mind with euler problems.
Installation
npm install @secretboy/euler-tests --save
Usage
Use the test
function to test your function.
const { test } = require('@secretboy/euler-tests')
function multiplesOf3and5(number) {
// Good luck!
return 188
}
test('002', multiplesOf3and5)
It takes first parameter as Problem number and second parameter as your function.
Confused?
You can refer to (or even clone) this repo to know how to use euler-tests-js and get started with solving euler problems.