inst/run-day10.R

library(adventofcode21)
x <- readLines("./inst/input10.txt")

p1 <- f10a(x)
p2 <- f10b(x)

stopifnot(p1 == aoc_solutions$day10a)
stopifnot(p2 == aoc_solutions$day10b)
Bisaloo/adventofcode21 documentation built on Dec. 17, 2021, 11:48 a.m.