mirror of
https://github.com/Chaoscaot/schemsearch.git
synced 2025-11-05 05:54:02 +01:00
Fix tests
This commit is contained in:
@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user