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

  command.arg("input");
  command.assert().success().stdout("29125888761511\n2219\n");

  Ok(())
}