math.beta/tests/tests/TestsVector3.h

22 lines
368 B
C

#ifndef __TESTSVECTOR3_H__
#define __TESTSVECTOR3_H__
# include "math/Vector3.h"
When( vector3_scalar_multiplied )
{
Then( it_should_multiply )
{
value1.X = 1.f;
value1.Y = 1.f;
value1.Z = 1.f;
value1 *= 2.f;
Assert::That( value1, Equals( Vec3f( 2.f, 2.f, 2.f ) ) );
}
Vec3f value1;
};
#endif //__TESTSVECTOR3_H__