mirror of
https://github.com/ricoriedel/wipe.git
synced 2024-11-22 07:56:38 +00:00
Improve unit tests
This commit is contained in:
parent
3fcab89c51
commit
1eddc2e3a2
@ -297,7 +297,7 @@ mod test {
|
||||
duration: 3500,
|
||||
..Args::default()
|
||||
};
|
||||
assert_eq!(Duration::from_secs_f32(3.5), args.duration());
|
||||
assert_eq!(Duration::from_millis(3500), args.duration());
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -306,7 +306,7 @@ mod test {
|
||||
fps: 20,
|
||||
..Args::default()
|
||||
};
|
||||
assert_eq!(Duration::from_secs_f32(0.05), args.delay());
|
||||
assert_eq!(Duration::from_millis(50), args.delay());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user