pub fn proposal_with_lock() -> BftTest {
    let mut cases = Vec::new();
    for _ in 0..10 {
        cases.push([1, 3, 0, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([1, 3, 1, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([1, 3, 0, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([0, 3, 1, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([1, 1, 1, 1, 1, 1]);
        cases.push(SHOULD_COMMIT);
    }
    cases
}
///  A function to generate proposal with lock test cases.
A function to generate proposal with lock test cases.
A function to generate proposal with lock test cases .
pub fn proposal_with_lock() -> BftTest {
    let mut cases = Vec::new();
    for _ in 0..10 {
        cases.push([1, 3, 0, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([1, 3, 1, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([1, 3, 0, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([0, 3, 1, 1, 3, 3]);
        cases.push(SHOULD_NOT_COMMIT);
        cases.push([1, 1, 1, 1, 1, 1]);
        cases.push(SHOULD_COMMIT);
    }
    cases
}
pub fn proposal_with_lock ( ) -> BftTest { let mut cases = Vec :: new ( ) ; for _ in 0 .. 10 { cases . push ( [ 1 , 3 , 0 , 1 , 3 , 3 ] ) ; cases . push ( SHOULD_NOT_COMMIT ) ; cases . push ( [ 1 , 3 , 1 , 1 , 3 , 3 ] ) ; cases . push ( SHOULD_NOT_COMMIT ) ; cases . push ( [ 1 , 3 , 0 , 1 , 3 , 3 ] ) ; cases . push ( SHOULD_NOT_COMMIT ) ; cases . push ( [ 0 , 3 , 1 , 1 , 3 , 3 ] ) ; cases . push ( SHOULD_NOT_COMMIT ) ; cases . push ( [ 1 , 1 , 1 , 1 , 1 , 1 ] ) ; cases . push ( SHOULD_COMMIT ) ; } cases }
A function to generate proposal with lock test cases.
A function to generate proposal with lock test cases .