Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
lapla-cogito committed Feb 15, 2024
1 parent 4d8b69a commit 583374b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ mod tests {
fn change_class_64bit() {
let loader = Obfuscator::open("bin/test_64bit", "bin/res_64bit");
let mut obfuscator = loader.unwrap();
assert_eq!(obfuscator.output[4], 2);
obfuscator.change_class();
assert_eq!(obfuscator.output[4], 1);
}
Expand All @@ -108,6 +109,7 @@ mod tests {
fn change_endian() {
let loader = Obfuscator::open("bin/test_64bit", "bin/res_endian");
let mut obfuscator = loader.unwrap();
assert_eq!(obfuscator.output[5], 1);
obfuscator.change_endian();
assert_eq!(obfuscator.output[5], 2);
}
Expand Down

0 comments on commit 583374b

Please sign in to comment.