From 583374bd6d6e74f2d0312455309d0ce2327a38f7 Mon Sep 17 00:00:00 2001 From: lapla-cogito Date: Thu, 15 Feb 2024 13:01:19 +0900 Subject: [PATCH] Update test --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 582c8ef..43624d5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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); } @@ -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); }