pub struct FuzzGenerator;Expand description
Hostile input generator for boundary testing (fuzzing)
Implementations§
Source§impl FuzzGenerator
impl FuzzGenerator
Sourcepub fn numeric_extremes() -> Vec<f64>
pub fn numeric_extremes() -> Vec<f64>
Category 1: Numeric Extremes
Sourcepub fn dt_extremes() -> Vec<f64>
pub fn dt_extremes() -> Vec<f64>
Category 2: Delta Time Extremes
Sourcepub fn position_extremes(width: f64, height: f64) -> Vec<(f64, f64)>
pub fn position_extremes(width: f64, height: f64) -> Vec<(f64, f64)>
Category 3: Position Extremes
Sourcepub fn velocity_extremes() -> Vec<(f64, f64)>
pub fn velocity_extremes() -> Vec<(f64, f64)>
Category 4: Velocity Extremes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FuzzGenerator
impl RefUnwindSafe for FuzzGenerator
impl Send for FuzzGenerator
impl Sync for FuzzGenerator
impl Unpin for FuzzGenerator
impl UnwindSafe for FuzzGenerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more