Began writing unit tests.

This commit is contained in:
Cutieguwu
2025-02-24 14:20:46 -05:00
parent b890d74cb7
commit 93e74ce2d2
2 changed files with 165 additions and 6 deletions

View File

@@ -20,7 +20,12 @@ pub struct Recover {
}
impl Recover {
pub fn new(config: Args, input: File, output: File, map: MapFile) -> Self {
pub fn new(
config: Args,
input: File,
output: File,
map: MapFile,
) -> Self {
let stage = map.get_stage();
// Temporarily make buffer length one sector.