fn multiply_assign_vector_by_vector_component_wise() {
        let mut v1 = Vec3::new(1., 2., 3.);
        let v2 = Vec3::new(3., 2., 1.);
        v1 *= v2;
        assert_eq!(v1.x(), 3.);
        assert_eq!(v1.y(), 4.);
        assert_eq!(v1.z(), 3.);
    }
// Test component-wise assign-multiplication of two vectors.
Test component-wise assign-multiplication of two vectors.
Test component - wise assign - multiplication of two vectors .
fn multiply_assign_vector_by_vector_component_wise() {
        let mut v1 = Vec3::new(1., 2., 3.);
        let v2 = Vec3::new(3., 2., 1.);
        v1 *= v2;
        assert_eq!(v1.x(), 3.);
        assert_eq!(v1.y(), 4.);
        assert_eq!(v1.z(), 3.);
    }
fn multiply_assign_vector_by_vector_component_wise ( ) { let mut v1 = Vec3 :: new ( 1. , 2. , 3. ) ; let v2 = Vec3 :: new ( 3. , 2. , 1. ) ; v1 *= v2 ; assert_eq ! ( v1 x ( ) 3. ) ; assert_eq ! ( v1 y ( ) 4. ) ; assert_eq ! ( v1 z ( ) 3. ) ; }
Test component-wise assign-multiplication of two vectors.
Test component - wise assign - multiplication of two vectors .