summary refs log tree commit diff
path: root/19/tests/main.rs
blob: ae2797e5a2f35fca42ad545c26bfa886b7135fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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_19")?;

  command.arg("small");
  command.assert().success().stdout(
      "79\n\
      3621\n");



  Ok(())
}