blob: 47c7314a4dd7a3f29fb850ed6bdd1b7f6b89d388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use assert_cmd::prelude::*;
use std::process::Command;
#[test]
fn personal_input() -> Result<(), Box<dyn std::error::Error>> {
let mut command = Command::cargo_bin("advent_18")?;
command.arg("input");
command.assert().success().stdout("510009915468\n321176691637769\n");
Ok(())
}
|