pub fn one_offline_cases() -> BftTest {
    let mut cases = Vec::new();
    for _ in 0..100 {
        cases.push(rand_attribute(OFFLINE, NORMAL));
        cases.push(SHOULD_COMMIT);
    }
    cases
}
/// A function to generate one node offline test cases.
A function to generate one node offline test cases.
A function to generate one node offline test cases .
pub fn one_offline_cases() -> BftTest {
    let mut cases = Vec::new();
    for _ in 0..100 {
        cases.push(rand_attribute(OFFLINE, NORMAL));
        cases.push(SHOULD_COMMIT);
    }
    cases
}
pub fn one_offline_cases ( ) -> BftTest { let mut cases = Vec :: new ( ) ; for _ in 0 .. 100 { cases . push ( rand_attribute ( OFFLINE , NORMAL ) ) ; cases . push ( SHOULD_COMMIT ) ; } cases }
A function to generate one node offline test cases.
A function to generate one node offline test cases .