advent-of-code-2023

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

day-6.lisp (280B)


      1 (defpackage #:aoc-test/day-6
      2   (:use #:cl #:lisp-unit2))
      3 (in-package #:aoc-test/day-6)
      4 
      5 (define-test test-day-6
      6     ()
      7   (multiple-value-bind (task-1 task-2)
      8       (aoc:run-day 6 "Time:      7  15   30
      9 Distance:  9  40  200")
     10     (assert= 288 task-1)
     11     (assert= 71503 task-2)))