20 lines
384 B
Common Lisp
20 lines
384 B
Common Lisp
|
|
||
|
(defpackage :aoc/2024/01/tests
|
||
|
(:use :cl :aoc :aoc/tests :aoc/2024/tests :parachute :aoc/2024/01))
|
||
|
|
||
|
(in-package :aoc/2024/01/tests)
|
||
|
|
||
|
(define-test suite-2024-01
|
||
|
;:parent suite-2024
|
||
|
)
|
||
|
|
||
|
(define-test+run test-part1
|
||
|
:parent suite-2024-01
|
||
|
(true (equalp 11 (part1 sample-data))))
|
||
|
|
||
|
(define-test+run test-part2
|
||
|
:parent suite-2024-01
|
||
|
(true (equalp 31 (part2 sample-data))))
|
||
|
|
||
|
|