advent-of-code-2023

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

day-15.lisp (291B)


      1 (defpackage #:aoc-test/day-15
      2   (:use #:cl #:lisp-unit2))
      3 (in-package #:aoc-test/day-15)
      4 
      5 (define-test test-day-15
      6     ()
      7   (multiple-value-bind (task-1 task-2)
      8       (aoc:run-day 15 "rn=1,cm-,qp=3,cm=2,qp-,pc=4,ot=9,ab=5,pc-,pc=6,ot=7")
      9     (assert= 1320 task-1)
     10     (assert= 145 task-2)))