11 lines
351 B
TypeScript
11 lines
351 B
TypeScript
import { assertEquals } from "@std/assert";
|
|
import { count_all_out_paths, read_device_list } from "../exercises/day_11.ts";
|
|
|
|
Deno.test("Day 11 - A", async () => {
|
|
const input_list = await read_device_list(
|
|
"src/exercises/assets/day_11_test_input.txt",
|
|
);
|
|
const result = count_all_out_paths(input_list, "you");
|
|
assertEquals(result, 5);
|
|
});
|