blob: 96d2816d00a45fe101e499de34bfdeccc2cf9518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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_21")?;
command.arg("input");
command.assert().success().stdout(
"2150\nvpzxk,bkgmcsx,qfzv,tjtgbf,rjdqt,hbnf,jspkl,hdcj\n");
Ok(())
}
|