Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw authored Aug 5, 2024
1 parent b3fb752 commit 6294bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions fitsio/tests/test_bit_datatype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ fn test_writing_bit_data_type() {

let table_hdu = f.hdu("DATA").unwrap();
let flags: Vec<u32> = dbg!(table_hdu.read_col(&mut f, "BITMASK").unwrap());
assert_eq!(flags.len(), 64);
assert!(data.iter().zip(&flags).all(|(a, b)| a == b));
}
1 change: 1 addition & 0 deletions fitsio/tests/test_vector_datatypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ macro_rules! make_test {

let table_hdu = f.hdu("DATA").unwrap();
let data: Vec<$t> = table_hdu.read_col(&mut f, "TEST").unwrap();
assert_eq!(orig_data.len(), data.len());
assert!(orig_data.iter().zip(&data).all(|(a, b)| a == b));
}
};
Expand Down

0 comments on commit 6294bb4

Please sign in to comment.