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

  command.arg("input");
  command.assert().success().stdout("3034\n259172170858496\n");

  Ok(())
}