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

  command.arg("input");
  command.assert().success().stdout("2406\n2149\n");

  Ok(())
}