fn can_push_output_response_after_input_request() {
    let this = canister_test_id(13);
    let other = canister_test_id(14);
    let mut queues = CanisterQueues::default();
    queues
        .push_input(
            QueueIndex::from(0),
            RequestBuilder::default()
                .sender(other)
                .receiver(this)
                .build()
                .into(),
            InputQueueType::RemoteSubnet,
        )
        .unwrap();
    queues.push_output_response(
        ResponseBuilder::default()
            .respondent(this)
            .originator(other)
            .build(),
    );
}
/// Can push response to output queues after pushing input request.
Can push response to output queues after pushing input request.
Can push response to output queues after pushing input request .
fn can_push_output_response_after_input_request() {
    let this = canister_test_id(13);
    let other = canister_test_id(14);
    let mut queues = CanisterQueues::default();
    queues
        .push_input(
            QueueIndex::from(0),
            RequestBuilder::default()
                .sender(other)
                .receiver(this)
                .build()
                .into(),
            InputQueueType::RemoteSubnet,
        )
        .unwrap();
    queues.push_output_response(
        ResponseBuilder::default()
            .respondent(this)
            .originator(other)
            .build(),
    );
}
fn can_push_output_response_after_input_request ( ) { let this = canister_test_id ( 13 ) ; let other = canister_test_id ( 14 ) ; let mut queues = CanisterQueues :: default ( ) ; queues . push_input ( QueueIndex :: from ( 0 ) , RequestBuilder :: default ( ) . sender ( other ) . receiver ( this ) . build ( ) . into ( ) , InputQueueType :: RemoteSubnet , ) . unwrap ( ) ; queues . push_output_response ( ResponseBuilder :: default ( ) . respondent ( this ) . originator ( other ) . build ( ) , ) ; }
Can push response to output queues after pushing input request.
Can push response to output queues after pushing input request .