use super::*;
#[test]
fn test_file_len() {
// TODO fix this test later. removed to get CI working.
//let eth_len = file_len("ethereum.pdf");
//let filecoin_len = file_len("filecoin.pdf");
//assert_eq!(eth_len, 941366);
//assert_eq!(filecoin_len, 629050);
//assert_eq!(File::open("files/ethereum.pdf")?.metadata().unwrap().len(), 941366);
}
}
https://github.com/banyancomputer/Rust-Chainlink-EA-API/blob/9918252960b59d5ba95339e767c4eb70539703cf/src/bin/make_test.rs#L158