truncate file on test

This commit is contained in:
jacekpoz 2024-05-09 01:56:54 +02:00
parent 1d3728e795
commit 131b9bb05d
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -78,7 +78,7 @@ fn main() -> io::Result<()> {
let mut results_file = OpenOptions::new()
.create(true)
.append(true)
.truncate(true)
.open(format!("./results/k1"))?;
for n in (100..=50000).step_by(100) {