From a0fcb600572ea0da9dee1b5b9e7a24ce674ebe7e Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Sat, 5 Dec 2020 10:55:56 -0300 Subject: Add 2018 and 2017 --- 2017/t/01-day.t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 2017/t/01-day.t (limited to '2017/t/01-day.t') diff --git a/2017/t/01-day.t b/2017/t/01-day.t new file mode 100644 index 0000000..7a3333b --- /dev/null +++ b/2017/t/01-day.t @@ -0,0 +1,17 @@ +use v6; +use Test; +use AdventOfCode; + +plan 4 + 5; + +is day01('1122'), 3; +is day01('1111'), 4; +is day01('1234'), 0; +is day01('91212129'), 9; + + +is day01b('1212'), 6; +is day01b('1221'), 0; +is day01b('123425'), 4; +is day01b('123123'), 12; +is day01b('12131415'), 4; -- cgit v1.2.3-70-g09d2