Skip to content

Commit

Permalink
Don't create expected.bin and labels.bin in scrypt-ocl UT
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jun 15, 2023
1 parent 1af4f50 commit 24acf04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scrypt-ocl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,12 +509,6 @@ mod tests {
.initialize_to(&mut expected, &[0u8; 32], indices, None)
.unwrap();

let mut post_data = std::fs::File::create("labels.bin").unwrap();
post_data.write_all(&labels).unwrap();

let mut expected_data = std::fs::File::create("expected.bin").unwrap();
expected_data.write_all(&expected).unwrap();

assert_eq!(expected.len(), labels.len());
assert_eq!(expected, labels);
}
Expand Down

0 comments on commit 24acf04

Please sign in to comment.