advent-of-code-2024

My solutions to AoC 2024
Log | Files | Refs

day-22.lisp (266B)


      1 (defpackage #:aoc-test/day-22
      2   (:use #:cl #:lisp-unit2)
      3   (:import-from #:aoc/day-22))
      4 (in-package #:aoc-test/day-22)
      5 
      6 (define-test test-day-22
      7     ()
      8   (assert= 37327623 (aoc:run-day 22 "1
      9 10
     10 100
     11 2024"))
     12   (assert= 23 (nth-value 1 (aoc:run-day 22 "1
     13 2
     14 3
     15 2024"))))