advent-of-code-2024

My solutions to AoC 2024
Log | Files | Refs

day-9.lisp (285B)


      1 (defpackage #:aoc-test/day-9
      2   (:use #:cl #:lisp-unit2)
      3   (:import-from #:aoc/day-9))
      4 (in-package #:aoc-test/day-9)
      5 
      6 (define-test test-day-9
      7     ()
      8   (multiple-value-bind (task-1 task-2)
      9       (aoc:run-day 9 "2333133121414131402")
     10     (assert= 1928 task-1)
     11     (assert= 2858 task-2)))