summary refs log tree commit diff
path: root/07/tests/main.rs
blob: d80525c57bc8a4068fdc14a7e84e1f474c4a3231 (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_07")?;

  command.arg("input");
  command.assert().success().stdout("259\n45018\n");

  Ok(())
}