advent-of-code-2023

My solutions to AoC 2023
git clone git://git.entf.net/advent-of-code-2023
Log | Files | Refs

day-16.lisp (352B)


      1 (defpackage #:aoc-test/day-16
      2   (:use #:cl #:lisp-unit2))
      3 (in-package #:aoc-test/day-16)
      4 
      5 (define-test test-day-16
      6     ()
      7   (multiple-value-bind (task-1 task-2)
      8       (aoc:run-day 16 ".|...\\....
      9 |.-.\\.....
     10 .....|-...
     11 ........|.
     12 ..........
     13 .........\\
     14 ..../.\\\\..
     15 .-.-/..|..
     16 .|....-|.\\
     17 ..//.|....")
     18     (assert= 46 task-1)
     19     (assert= 51 task-2)))