aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-10-31 17:19:29 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-10-31 17:19:29 -0700
commit7f43d097d84c4b3f9a63981c3f6a67db82046bd3 (patch)
tree82fadbbca3f291963584e3586a60ceff09b66900 /adenosine-pds/tests
parentb80360a2cfe87b4e4dd24f06010642976b858f26 (diff)
downloadadenosine-7f43d097d84c4b3f9a63981c3f6a67db82046bd3.tar.gz
adenosine-7f43d097d84c4b3f9a63981c3f6a67db82046bd3.zip
pds: move earlier commands to lib and tests
Diffstat (limited to 'adenosine-pds/tests')
-rw-r--r--adenosine-pds/tests/bigger.carbin0 -> 60050 bytes
-rw-r--r--adenosine-pds/tests/example_repo.carbin0 -> 7390 bytes
-rw-r--r--adenosine-pds/tests/test_repro_mst.rs10
3 files changed, 10 insertions, 0 deletions
diff --git a/adenosine-pds/tests/bigger.car b/adenosine-pds/tests/bigger.car
new file mode 100644
index 0000000..7169013
--- /dev/null
+++ b/adenosine-pds/tests/bigger.car
Binary files differ
diff --git a/adenosine-pds/tests/example_repo.car b/adenosine-pds/tests/example_repo.car
new file mode 100644
index 0000000..b2ae723
--- /dev/null
+++ b/adenosine-pds/tests/example_repo.car
Binary files 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();
+}