fn multiply_vector_by_float_left() {
        let v1 = Vec3::new(1., 2., 3.);
        let twice = 2. * v1;
        assert_eq!(twice.x(), 2.);
        assert_eq!(twice.y(), 4.);
        assert_eq!(twice.z(), 6.);
    }
// Test multiplication of a vector with a float from the left.
Test multiplication of a vector with a float from the left.
Test multiplication of a vector with a float from the left .
fn multiply_vector_by_float_left() {
        let v1 = Vec3::new(1., 2., 3.);
        let twice = 2. * v1;
        assert_eq!(twice.x(), 2.);
        assert_eq!(twice.y(), 4.);
        assert_eq!(twice.z(), 6.);
    }
fn multiply_vector_by_float_left ( ) { let v1 = Vec3 :: new ( 1. , 2. , 3. ) ; let twice = 2. * v1 ; assert_eq ! ( twice x ( ) 2. ) ; assert_eq ! ( twice y ( ) 4. ) ; assert_eq ! ( twice z ( ) 6. ) ; }
Test multiplication of a vector with a float from the left.
Test multiplication of a vector with a float from the left .