aboutsummaryrefslogtreecommitdiff
path: root/2017/t/01-day.t
blob: 7a3333b67b81c8cceecc3d988d9c6b38d8ff8a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;