-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.ts
60 lines (47 loc) · 1.88 KB
/
test.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
import { day2Part2 } from "./day2/day2Part2.ts";
import { day2Part1 } from "./day2/day2Part1.ts";
import { day1Part1 } from "./day1/day1Part1.ts";
import { day1Part2 } from "./day1/day1Part2.ts";
import { day3Part1 } from "./day3/day3Part1.ts";
import { day3Part2 } from "./day3/day3Part2.ts";
import { day4Part1 } from "./day4/day4Part1.ts";
// Deno.test("day 1 part 1 sample", () => {
// assertEquals(day1Part1("./day1/day1SampleInput.txt"), 7);
// });
// Deno.test("day 1 part 1 real", () => {
// assertEquals(day1Part1("./day1/day1RealInput.txt"), 1451);
// });
// Deno.test("day 1 part 2 sample", () => {
// assertEquals(day1Part2("./day1/day1SampleInput.txt"), 5);
// });
// Deno.test("day 1 part 2 real", () => {
// assertEquals(day1Part2("./day1/day1RealInput.txt"), 1395);
// });
// Deno.test("day 2 part 1 sample", () => {
// assertEquals(day2Part1("./day2/day2SampleInput.txt"), 150);
// });
// Deno.test("day 2 part 1 real", () => {
// assertEquals(day2Part1("./day2/day2RealInput.txt"), 2187380);
// });
// Deno.test("day 2 part 2 sample", () => {
// assertEquals(day2Part2("./day2/day2SampleInput.txt"), 900);
// });
// Deno.test("day 2 part 2 real", () => {
// assertEquals(day2Part2("./day2/day2RealInput.txt"), 2086357770);
// });
// Deno.test("day 3 part 1 sample", () => {
// assertEquals(day3Part1("./day3/day3SampleInput.txt"), 198);
// });
// Deno.test("day 3 part 1 real", () => {
// assertEquals(day3Part1("./day3/day3RealInput.txt"), 3633500);
// });
// Deno.test("day 3 part 2 sample", () => {
// assertEquals(day3Part2("./day3/day3SampleInput.txt"), 230);
// });
// Deno.test("day 3 part 2 real", () => {
// assertEquals(day3Part2("./day3/day3RealInput.txt"), 4550283);
// });
Deno.test("day 4 part 1 sample", () => {
assertEquals(day4Part1("./day4/day4SampleInput.txt"), 198);
});