mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-05 06:00:30 -04:00
hardware: Add Legion Go 2 to board_lookup test
This commit is contained in:
parent
9a4f334b6e
commit
1e05822440
1 changed files with 30 additions and 0 deletions
|
@ -471,6 +471,36 @@ pub mod test {
|
|||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn board_lookup_legion_go_2_83n0() {
|
||||
let _h = setup_board("LENOVO\n", "INVALID\n", "83N0\n")
|
||||
.await
|
||||
.unwrap();
|
||||
assert_eq!(
|
||||
steam_deck_variant().await.unwrap(),
|
||||
SteamDeckVariant::Unknown
|
||||
);
|
||||
assert_eq!(
|
||||
device_variant().await.unwrap(),
|
||||
(String::from("legion_go_2"), String::from("83N0"))
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn board_lookup_legion_go_2_83n1() {
|
||||
let _h = setup_board("LENOVO\n", "INVALID\n", "83N1\n")
|
||||
.await
|
||||
.unwrap();
|
||||
assert_eq!(
|
||||
steam_deck_variant().await.unwrap(),
|
||||
SteamDeckVariant::Unknown
|
||||
);
|
||||
assert_eq!(
|
||||
device_variant().await.unwrap(),
|
||||
(String::from("legion_go_2"), String::from("83N1"))
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn board_lookup_steam_deck_jupiter() {
|
||||
let _h = setup_board("Valve\n", "Jupiter\n", "Jupiter\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue