/adventofcode

:christmas_tree: Solutions to problems from AdventOfCode.com 2015

Primary LanguageJavaScript

Advent of Code

Travis Codecov

Description

Here are my solutions to problems from adventofcode.com. Scripts are written in JavaScript and run in Node.js. All scripts are covered by tests written in Mocha testing framework. Report is created by Istambul code coverage tool ( see details ). Merry Christmas!

Installation

First clone the repository to your local disk:

git clone https://github.com/mrnz/adventofcode.git

Once the repository has been cloned, you may install all necessary dependencies with this command:

npm install

Run sctipts

You can run individual script with command:

npm run dX

where X is accordingly a number from 1 to 25. You may also run all script at once ( warning: it can take more then one minute ) with command:

npm start

Test scripts

Each script is covered by tests which run using Mocha. You can either see all results by clicking HERE or perform all tests locally with command:

npm test

Enjoy !

ChristmasTree