You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: boolean.rs
    path of file: ./repos/polars/crates/polars/tests/it/arrow/compute
    
    the code of the file until where you have to start completion: use std::iter::FromIterator;

use arrow::array::*;
use arrow::compute::boolean::*;
use arrow::scalar::BooleanScalar;

#[test]
fn array_and() {
    let a = BooleanArray::from
    
fn array_and_sliced_offset1() {
    let a = BooleanArray::from_slice(vec![
        false, false, false, false, false, false, false, false, false, false, true, true,
    ]);
    let b = BooleanArray::from_slice(vec![false, true, false, true]);

    let a = a.sliced(8, 4);

    let c = and(&a, &b);

    let expected = BooleanArray::from_slice(vec![false, false, false, true]);

    assert_eq!(expected, c);
}