Formatting

This commit is contained in:
Ilya Zlobintsev 2021-03-07 21:28:19 +02:00
parent db5b53a370
commit a6059762d0

View File

@ -1016,13 +1016,14 @@ mod tests {
assert_eq!(clocks_table.mem_clocks_range, (300, 2250));
assert_eq!(clocks_table.voltage_range, (750, 1200));
assert_eq!(clocks_table.gpu_power_levels.get(&6).unwrap(), &(1300, 1150));
assert_eq!(
clocks_table.gpu_power_levels.get(&6).unwrap(),
&(1300, 1150)
);
assert_eq!(clocks_table.mem_power_levels.get(&1).unwrap(), &(1000, 825));
},
}
_ => panic!("Invalid clocks format detected"),
}
}
// pp_od_clk_voltage taken from a Vega 56
@ -1090,7 +1091,7 @@ mod tests {
assert_eq!(clocks_table.current_gpu_clocks, (800, 2100));
assert_eq!(clocks_table.current_max_mem_clock, 875);
},
}
_ => panic!("Invalid clocks format detected"),
}
}