mirror of
https://github.com/mii443/RustySecrets.git
synced 2025-08-22 16:25:32 +00:00
Ensure there is at least one point in QuickCheck tests
This commit is contained in:
@ -114,7 +114,7 @@ mod tests {
|
||||
}
|
||||
|
||||
fn interpolate_evaluate_at_0_eq_evaluate_at(ys: Vec<u8>) -> TestResult {
|
||||
if ys.len() > std::u8::MAX as usize {
|
||||
if ys.is_empty() || ys.len() > std::u8::MAX as usize {
|
||||
return TestResult::discard();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user