Skip to content

Commit

Permalink
back to a single color
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb committed Apr 23, 2024
1 parent e58483b commit a7f7bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vpx/gamedata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1868,8 +1868,8 @@ mod tests {
#[test]
fn test_write_read_colors() {
let mut colors = [Color::RED; 16];
for i in 0..16 {
colors[i] = Faker.fake();
for color in &mut colors {
*color = Faker.fake();
}
let bytes = write_colors(&colors);
let read_colors = read_colors(bytes);
Expand Down

0 comments on commit a7f7bd3

Please sign in to comment.