advent-of-code-2023

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

day-17.lisp (419B)


      1 (defpackage #:aoc-test/day-17
      2   (:use #:cl #:lisp-unit2))
      3 (in-package #:aoc-test/day-17)
      4 
      5 (define-test test-day-17
      6     ()
      7   (multiple-value-bind (task-1 task-2)
      8       (aoc:run-day 17 "2413432311323
      9 3215453535623
     10 3255245654254
     11 3446585845452
     12 4546657867536
     13 1438598798454
     14 4457876987766
     15 3637877979653
     16 4654967986887
     17 4564679986453
     18 1224686865563
     19 2546548887735
     20 4322674655533")
     21     (assert= 102 task-1)
     22     (assert= 94 task-2)))