From 9acefe571def801d63282620cb31833a321bc551 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Wed, 16 Dec 2020 22:47:29 -0800 Subject: 17 --- 17/tests/main.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 17/tests/main.rs (limited to '17/tests') diff --git a/17/tests/main.rs b/17/tests/main.rs new file mode 100644 index 0000000..394fb0f --- /dev/null +++ b/17/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_17")?; + + command.arg("input"); + command.assert().success().stdout("265\n1936\n"); + + Ok(()) +} + -- cgit 1.4.1