mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 12:50:32 +01:00
Elaborate on tests.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Advent of Code 2018
|
||||
|
||||
[](https://travis-ci.org/bertptrs/adventofcode)
|
||||
|
||||
Once again, I will be attempting to complete the challenges in Rust.
|
||||
However, this this I will be focussing on having idiomatic code and
|
||||
having everything in a single executable.
|
||||
@@ -7,6 +9,14 @@ having everything in a single executable.
|
||||
To run day 1: `cargo run -- 1`. Other options can be seen with the
|
||||
`--help` flag. The program will by default read its input from stdin.
|
||||
|
||||
## Correctness
|
||||
|
||||
All of this year's solution implementations have some semblance of unit
|
||||
tests, all coming from the examples given in the problem statement.
|
||||
These tests are checked by travis (if you haven't noticed the shiny
|
||||
button above) on stable, beta and nightly Rust, as well as the version
|
||||
of Rust that Ubuntu Xenial ships.
|
||||
|
||||
## Simulations
|
||||
|
||||
This year's edition is very simulation-heavy. Thus, code written for
|
||||
|
||||
Reference in New Issue
Block a user