advent-of-code-2023

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

day-7.lisp (285B)


      1 (defpackage #:aoc-test/day-7
      2   (:use #:cl #:lisp-unit2))
      3 (in-package #:aoc-test/day-7)
      4 
      5 (define-test test-day-7
      6     ()
      7   (multiple-value-bind (task-1 task-2)
      8       (aoc:run-day 7 "32T3K 765
      9 T55J5 684
     10 KK677 28
     11 KTJJT 220
     12 QQQJA 483")
     13     (assert= 6440 task-1)
     14     (assert= 5905 task-2)))