1
0
Fork 0
factor-puzzles/aoc2015/day10/day10-tests.factor

7 lines
283 B
Factor
Raw Normal View History

2020-11-29 08:22:10 +01:00
! Copyright (C) 2021 Bubbler.
! See http://factorcode.org/license.txt for BSD license.
USING: aoc2015.day10 kernel sequences tools.test ;
IN: aoc2015.day10.tests
{ { { 1 1 } { 2 1 } { 1 2 1 1 } { 1 1 1 2 2 1 } { 3 1 2 2 1 1 } } }
[ { 1 } 5 [ look-say dup ] replicate nip ] unit-test