mirror of
https://github.com/dnlbauer/xdrfile.git
synced 2026-09-10 14:15:31 +00:00
Changed an integration test to take path as &str
This commit is contained in:
@@ -7,9 +7,7 @@ mod integration {
|
||||
|
||||
#[test]
|
||||
fn test_use_library() {
|
||||
let path = Path::new("tests/1l2y.xtc");
|
||||
|
||||
let mut trj = XTCTrajectory::open(path, FileMode::Read).unwrap();
|
||||
let mut trj = XTCTrajectory::open("tests/1l2y.xtc", FileMode::Read).unwrap();
|
||||
let num_atoms = trj.get_num_atoms().unwrap();
|
||||
let mut frame = Frame::with_capacity(num_atoms);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user