mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-10 00:20:29 -04:00
Run clang fmt
This commit is contained in:
parent
3c2dd55f87
commit
ffcd702172
1 changed files with 8 additions and 2 deletions
10
src/power.rs
10
src/power.rs
|
@ -869,12 +869,18 @@ CCLK_RANGE in Core0:
|
||||||
fake_model(HardwareVariant::Unknown)
|
fake_model(HardwareVariant::Unknown)
|
||||||
.await
|
.await
|
||||||
.expect("fake_model");
|
.expect("fake_model");
|
||||||
assert_eq!(get_gpu_power_profile().await.expect("get"), GPUPowerProfile::Video);
|
assert_eq!(
|
||||||
|
get_gpu_power_profile().await.expect("get"),
|
||||||
|
GPUPowerProfile::Video
|
||||||
|
);
|
||||||
|
|
||||||
fake_model(HardwareVariant::Jupiter)
|
fake_model(HardwareVariant::Jupiter)
|
||||||
.await
|
.await
|
||||||
.expect("fake_model");
|
.expect("fake_model");
|
||||||
assert_eq!(get_gpu_power_profile().await.expect("get"), GPUPowerProfile::Video);
|
assert_eq!(
|
||||||
|
get_gpu_power_profile().await.expect("get"),
|
||||||
|
GPUPowerProfile::Video
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue