From 7f43d097d84c4b3f9a63981c3f6a67db82046bd3 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 31 Oct 2022 17:19:29 -0700 Subject: pds: move earlier commands to lib and tests --- adenosine-pds/tests/bigger.car | Bin 0 -> 60050 bytes adenosine-pds/tests/example_repo.car | Bin 0 -> 7390 bytes adenosine-pds/tests/test_repro_mst.rs | 10 ++++++++++ 3 files changed, 10 insertions(+) create mode 100644 adenosine-pds/tests/bigger.car create mode 100644 adenosine-pds/tests/example_repo.car create mode 100644 adenosine-pds/tests/test_repro_mst.rs (limited to 'adenosine-pds/tests') diff --git a/adenosine-pds/tests/bigger.car b/adenosine-pds/tests/bigger.car new file mode 100644 index 0000000..7169013 Binary files /dev/null and b/adenosine-pds/tests/bigger.car differ diff --git a/adenosine-pds/tests/example_repo.car b/adenosine-pds/tests/example_repo.car new file mode 100644 index 0000000..b2ae723 Binary files /dev/null and b/adenosine-pds/tests/example_repo.car differ diff --git a/adenosine-pds/tests/test_repro_mst.rs b/adenosine-pds/tests/test_repro_mst.rs new file mode 100644 index 0000000..4dde364 --- /dev/null +++ b/adenosine-pds/tests/test_repro_mst.rs @@ -0,0 +1,10 @@ + +use adenosine_pds::repro_mst; +use std::path::PathBuf; +use std::str::FromStr; + +#[test] +fn test_repro_mst() { + repro_mst(&PathBuf::from_str("./tests/example_repo.car").unwrap()).unwrap(); + repro_mst(&PathBuf::from_str("./tests/bigger.car").unwrap()).unwrap(); +} -- cgit v1.2.3