Mirror von
https://github.com/Chaoscaot/schemsearch
synchronisiert 2024-11-19 10:20:08 +01:00
Fix tests
Dieser Commit ist enthalten in:
Ursprung
b32aac0aba
Commit
ef2755115c
@ -220,7 +220,10 @@ mod tests {
|
|||||||
|
|
||||||
println!("{:?}", matches);
|
println!("{:?}", matches);
|
||||||
assert_eq!(matches.len(), 1);
|
assert_eq!(matches.len(), 1);
|
||||||
assert_eq!(matches[0], Match { x: 1, y: 0, z: 3, percent: 1.0});
|
assert_eq!(matches[0].x, 1);
|
||||||
|
assert_eq!(matches[0].y, 0);
|
||||||
|
assert_eq!(matches[0].z, 3);
|
||||||
|
assert_eq!(matches[0].percent, 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren