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: decimal_tests.rs
    path of file: ./repos/rust-decimal/tests
    
    the code of the file until where you have to start completion: mod macros;

use core::{cmp::Ordering::*, str::FromStr};
use num_traits::{Inv, Signed, ToPrimitive};
use rust_decimal::{Decimal, Error, RoundingStrategy};

#[test]
#[cfg(feature 
    
fn it_can_do_scalar_ops_in_ndarray() {
    use ndarray::Array1;
    use num_traits::FromPrimitive;

    let array_a = Array1::from(vec![
        Decimal::from_f32(1.0).unwrap(),
        Decimal::from_f32(2.0).unwrap(),
        Decimal::from_f32(3.0).unwrap(),
    ]);

    // Add
    let output = array_a.clone() + Decimal::from_f32(5.0).unwrap();
    let expectation = Array1::from(vec![
        Decimal::from_f32(6.0).unwrap(),
        Decimal::from_f32(7.0).unwrap(),
        Decimal::from_f32(8.0).unwrap(),
    ]);
    assert_eq!(output, expectation);

    // Sub
    let output = array_a.clone() - Decimal::from_f32(5.0).unwrap();
    let expectation = Array1::from(vec![
        Decimal::from_f32(-4.0).unwrap(),
        Decimal::from_f32(-3.0).unwrap(),
        Decimal::from_f32(-2.0).unwrap(),
    ]);
    assert_eq!(output, expectation);

    // Mul
    let output = array_a.clone() * Decimal::from_f32(5.0).unwrap();
    let expectation = Array1::from(vec![
        Decimal::from_f32(5.0).unwrap(),
        Decimal::from_f32(10.0).unwrap(),
        Decimal::from_f32(15.0).unwrap(),
    ]);
    assert_eq!(output, expectation);

    // Div
    let output = array_a / Decimal::from_f32(5.0).unwrap();
    let expectation = Array1::from(vec![
        Decimal::from_f32(0.2).unwrap(),
        Decimal::from_f32(0.4).unwrap(),
        Decimal::from_f32(0.6).unwrap(),
    ]);
    assert_eq!(output, expectation);
}