From 98d41362b766072c278da5076df2ca7e4fe8cf9d Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sat, 12 Dec 2020 21:36:20 -0800 Subject: 13 --- 13/tests/main.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 13/tests/main.rs (limited to '13/tests') diff --git a/13/tests/main.rs b/13/tests/main.rs new file mode 100644 index 0000000..6dbc573 --- /dev/null +++ b/13/tests/main.rs @@ -0,0 +1,14 @@ +use assert_cmd::prelude::*; +use std::process::Command; + + +#[test] +fn personal_input() -> Result<(), Box> { + let mut command = Command::cargo_bin("advent_13")?; + + command.arg("input"); + command.assert().success().stdout("1835\n247086664214628\n"); + + Ok(()) +} + -- cgit 1.4.1