inst/run-day03.R

library(adventofcode18)
x <- readLines("./inst/input03.txt")

p1 <- count_overlapping_fabric_claims(x)
p2 <- find_unique_fabric_claim(x)

stopifnot(p1 == aoc18_solutions$day03a)
stopifnot(p2 == aoc18_solutions$day03b)
tjmahr/adventofcode18 documentation built on May 24, 2019, 4:10 p.m.