Skip to content
Snippets Groups Projects
Commit 9b30f05f authored by LUDMANN Pierre's avatar LUDMANN Pierre
Browse files

[day5] ranges from [0, +inf[ with start and soft end

parent b6625be9
No related branches found
No related tags found
1 merge request!1Day5 ludmann1
package CieDuVaseDesNoces;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class Day5Test {
Day5 today = new Day5("day5.input");
@Test
void part1_test() {
assertEquals("35", today.part1());
}
@Test
void part2_test() {
assertEquals("46", today.part2());
}
}
seeds: 79 14 55 13
seed-to-soil map:
50 98 2
52 50 48
soil-to-fertilizer map:
0 15 37
37 52 2
39 0 15
fertilizer-to-water map:
49 53 8
0 11 42
42 0 7
57 7 4
water-to-light map:
88 18 7
18 25 70
light-to-temperature map:
45 77 23
81 45 19
68 64 13
temperature-to-humidity map:
0 69 1
1 0 69
humidity-to-location map:
60 56 37
56 93 4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment