/*
SPDX-License-Identifier: GPL-3.0-or-later
Copyright © 2024 Mike Robeson [dijksterhuis]
*/

// #[test]
// fn test_arrangement() {
//     let outfile = std::env::temp_dir().join("ot-tools-actions-arrangement-load-test-ok.work");
//     let yaml = PathBuf::from("TODO");
//     // TODO!
//     let r = yaml_file_to_bin_file::<ArrangementFile>(&yaml, &outfile);
//     let _ = std::fs::remove_file(&outfile);
//     assert!(r.is_ok())
// }

// #[test]
// fn test_bank() {
//     let outfile = std::env::temp_dir().join("ot-tools-actions-bank-load-test-ok.work");
//     let yaml = PathBuf::from("TODO");
//     let r = yaml_file_to_bin_file::<Bank>(&yaml, &outfile);
//     let _ = std::fs::remove_file(&outfile);
//     assert!(r.is_ok())
// }

// #[test]
// fn test_project() {
//     let outfile = std::env::temp_dir().join("ot-tools-actions-project-load-test-ok.work");
//     let yaml = PathBuf::from("../data/tests/projects/project.yaml");
//     let r = yaml_file_to_bin_file::<Project>(&yaml, &outfile);
//     let _ = std::fs::remove_file(&outfile);
//     assert!(r.is_ok())
// }

// #[test]
// fn test_sample() {
//     let outfile = std::env::temp_dir().join("ot-tools-actions-sample-load-test-ok.work");
//     let yaml = PathBuf::from("TODO");
//     let r = yaml_file_to_bin_file::<SampleAttributes>(&yaml, &outfile);
//     let _ = std::fs::remove_file(&outfile);
//     assert!(r.is_ok())
// }
