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

  command.arg("input");
  command.assert().success().stdout("265\n1936\n");

  Ok(())
}