Formatting and minor code changes

This commit is contained in:
Lol3rrr
2024-10-18 13:11:10 +02:00
parent 835b4484dc
commit 6c098b412a
9 changed files with 198 additions and 135 deletions

View File

@@ -11,13 +11,24 @@ fn endofgame_nuke() {
let expected = endofgame::EndOfGame {
map: "de_nuke".to_owned(),
teams: [(2, endofgame::TeamInfo {
end_score: 13,
start_side: "CT".into(),
}), (3, endofgame::TeamInfo {
end_score: 8,
start_side: "TERRORIST".into()
})].into_iter().collect(),
teams: [
(
2,
endofgame::TeamInfo {
end_score: 13,
start_side: "CT".into(),
},
),
(
3,
endofgame::TeamInfo {
end_score: 8,
start_side: "TERRORIST".into(),
},
),
]
.into_iter()
.collect(),
players: vec![
(
endofgame::PlayerInfo {