Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAcPT committed Jul 31, 2024
1 parent e621000 commit e621000
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions nmsr-lib/src/uv/part.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ impl UvImagePixel {

#[test]
fn test_uv_pixel() {
let u = 32u32;
let v = 23u32;
let shading = 255u32;
let u = 12u32;
let v = 16u32;
let shading = 165u32;

let final_depth = 3621u32;

Expand Down Expand Up @@ -115,8 +115,7 @@ fn test_uv_pixel() {
}

let pixels = U { rgba: final_number };
let mut channels = unsafe { pixels.channels };
channels.reverse();
let channels = unsafe { pixels.channels };

//println!("{:#10x}", final_number);

Expand Down

0 comments on commit e621000

Please sign in to comment.