Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YM162 committed Oct 3, 2024
1 parent 2c51383 commit dc965ad
Showing 1 changed file with 78 additions and 78 deletions.
156 changes: 78 additions & 78 deletions gulagcleaner_rs/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,77 +81,77 @@ fn run_test_for_config(test_config: &TestConfig) {

// Define tests for specific PDF files, utilizing the TestConfig structure.

// #[test]
// fn test_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-free-example.pdf",
// output_filename: "wuolah_clean.pdf",
// });
// }

// #[test]
// fn test_010624_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-010624-example.pdf",
// output_filename: "wuolah_010624_clean.pdf",
// });
// }

// #[test]
// fn test_170924_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-170924-example.pdf",
// output_filename: "wuolah-170924-example_clean.pdf",
// });
// }

// #[test]
// fn test_280924_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-280924-example.pdf",
// output_filename: "wuolah-280924-example_clean.pdf",
// });
// }

// #[test]
// fn test_280924_2_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-280924-2-example.pdf",
// output_filename: "wuolah-280924-2-example_clean.pdf",
// });
// }

// #[test]
// fn test_300924_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-300924-example.pdf",
// output_filename: "wuolah-300924-example_clean.pdf",
// });
// }

// #[test]
// fn test_300924_2_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-300924-2-example.pdf",
// output_filename: "wuolah-300924-2-example_clean.pdf",
// });
// }

// #[test]
// fn test_031024_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-031024-example.pdf",
// output_filename: "wuolah-031024-example_clean.pdf",
// });
// }

// #[test]
// fn test_031024_2_wuolah_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/wuolah-031024-2-example.pdf",
// output_filename: "wuolah-031024-2-example_clean.pdf",
// });
// }
#[test]
fn test_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-free-example.pdf",
output_filename: "wuolah_clean.pdf",
});
}

#[test]
fn test_010624_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-010624-example.pdf",
output_filename: "wuolah_010624_clean.pdf",
});
}

#[test]
fn test_170924_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-170924-example.pdf",
output_filename: "wuolah-170924-example_clean.pdf",
});
}

#[test]
fn test_280924_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-280924-example.pdf",
output_filename: "wuolah-280924-example_clean.pdf",
});
}

#[test]
fn test_280924_2_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-280924-2-example.pdf",
output_filename: "wuolah-280924-2-example_clean.pdf",
});
}

#[test]
fn test_300924_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-300924-example.pdf",
output_filename: "wuolah-300924-example_clean.pdf",
});
}

#[test]
fn test_300924_2_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-300924-2-example.pdf",
output_filename: "wuolah-300924-2-example_clean.pdf",
});
}

#[test]
fn test_031024_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-031024-example.pdf",
output_filename: "wuolah-031024-example_clean.pdf",
});
}

#[test]
fn test_031024_2_wuolah_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/wuolah-031024-2-example.pdf",
output_filename: "wuolah-031024-2-example_clean.pdf",
});
}

#[test]
fn test_041024_wuolah_pdf() {
Expand All @@ -161,10 +161,10 @@ fn test_041024_wuolah_pdf() {
});
}

// #[test]
// fn test_studocu_pdf() {
// run_test_for_config(&TestConfig {
// input_path: "example_docs/studocu-example.pdf",
// output_filename: "studocu_clean.pdf",
// });
// }
#[test]
fn test_studocu_pdf() {
run_test_for_config(&TestConfig {
input_path: "example_docs/studocu-example.pdf",
output_filename: "studocu_clean.pdf",
});
}

0 comments on commit dc965ad

Please sign in to comment.