Skip to content

HendrikPetertje/advent_of_code_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent Of Code 2022

This is my advent of code repo containing Advent of code challenges written in Elixir.

Each day is contained in a single test file, the current state of all tests is:

CircleCI

Installation

Make sure you have Erlang and Elixir installed on your machine, either through Homebrew or apt-get or alternatively through ASDF

Once installed execute the following command on a terminal in this repository:

mix deps.get

Checking out the challenges

All challenges are written as Uni tests in the test directory. You can check the challenges out in the test directory or better yet; you can execute them!

The main test command will run all the tests in alphabetical order (so per day and per challenge) in a trace-view mode.

Most tests will execute an assert on demo-data first and then put the result of the real test in the console output.

mix test

You can execute individual days (or even challenges) by executing any of the below:

mix test test/01/day_1_test.exs

mix test test/01/day_1_test.exs:78

About

Advent of code 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages