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

  command.arg("input");
  command.assert().success().stdout(
      "562\n\
      2874\n");

  Ok(())
}