Skip to content
Snippets Groups Projects
Commit 39283057 authored by Millicent Billette's avatar Millicent Billette
Browse files

[test] bc-db-reader: add default_personal_difficulty

parent a28fa5b6
Branches
No related tags found
No related merge requests found
......@@ -155,6 +155,14 @@ mod tests {
assert_eq!(0, handicap(1, 50));
}
#[test]
fn test_default_personal_difficulty() {
assert_eq!(PersonalDifficulty {
exclusion_factor: 1,
handicap: 0,
},PersonalDifficulty::default());
}
#[test]
fn test_compute_personal_difficulty_no_penality() {
assert_eq!(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment