[TSM.ID].[11031972] FIX: xcu-screen-capture unused vars + PISAHKAN bare-metal workflow (sequential, bukan parallel) agar VPS tidak overload

This commit is contained in:
TSM.ID
2026-05-25 15:09:17 +07:00
parent f3851e0d6d
commit 012ee564b0
4 changed files with 147 additions and 18 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ impl DiffEncoder {
}
#[cfg(test)] mod tests {
use super::*;
#[test] fn test_color_roundtrip() { let (y, u, v) = rgba_to_yuv420(128, 64, 200); let (r, g, b) = yuv_to_rgba(y, u, v); assert!((128i16 - r as i16).abs() < 5); }
#[test] fn test_color_roundtrip() { let (y, u, v) = rgba_to_yuv420(128, 64, 200); let (r, _g, _b) = yuv_to_rgba(y, u, v); assert!((128i16 - r as i16).abs() < 5); }
#[test] fn test_diff_roundtrip() { let prev = vec![10, 20, 30]; let curr = vec![15, 25, 35]; let diff = DiffEncoder::encode(&prev, &curr); let rec = DiffEncoder::decode(&prev, &diff); assert_eq!(rec, curr); }
}