summary refs log tree commit diff
path: root/05/tests/main.rs
blob: b5d0002fbe3ce1a792e14c5d1db8a8253ae4ce51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use assert_cmd::prelude::*;
//use predicates::prelude::*;
use std::process::Command;


#[test]
fn personal_input() -> Result<(), Box<dyn std::error::Error>> {
  let mut command = Command::cargo_bin("advent_05")?;

  command.arg("input");
  command.assert().success().stdout("996\n671\n");

  Ok(())
}