fn subtract_assign_vectors() {
        let mut v1 = Vec3::new(1., 2., 3.);
        let v2 = Vec3::new(3., 2., 1.);
        v1 -= v2;
        assert_eq!(v1.x(), -2.);
        assert_eq!(v1.y(), 0.);
        assert_eq!(v1.z(), 2.);
    }
// Test subtract assigning two vectors.
Test subtract assigning two vectors.
Test subtract assigning two vectors .
fn subtract_assign_vectors() {
        let mut v1 = Vec3::new(1., 2., 3.);
        let v2 = Vec3::new(3., 2., 1.);
        v1 -= v2;
        assert_eq!(v1.x(), -2.);
        assert_eq!(v1.y(), 0.);
        assert_eq!(v1.z(), 2.);
    }
fn subtract_assign_vectors ( ) { let mut v1 = Vec3 :: new ( 1. , 2. , 3. ) ; let v2 = Vec3 :: new ( 3. , 2. , 1. ) ; v1 -= v2 ; assert_eq ! ( v1 x ( ) 2. ) ; assert_eq ! ( v1 y ( ) 0. ) ; assert_eq ! ( v1 z ( ) 2. ) ; }
Test subtract assigning two vectors.
Test subtract assigning two vectors .