[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:
@@ -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); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user