[−][src]Attribute Macro fluid_attributes::theory
#[theory]
The theory
attribute.
A theory is a test more complex than a fact, that must be proven or inferred with multiple cases.
Therefore, a theory must come with its multiple test case
s.
See the wiki for more information.
Example
#[theory] #[case("Cerberus", 3)] #[case("Hydra", 7)] #[case("Janus", 2)] #[case("Normal guy", 1)] fn each_cerature_has_a_correct_number_of_faces(name: &str, nbr_faces: u8) { number_of_faces(name).should().be_equal_to(nbr_faces); }