C# Class Abacus.DoublePrecision.Matrix44Tests

Show file Open project: sungiant/abacus

Private Methods

Method Description
AssertEqualWithinReason ( Matrix44 a, Matrix44 b ) : void

Helper to encapsulate asserting that two Matrix44s are equal.

GetNextRandomDouble ( ) : Double

Helper function for getting the next random Double value.

GetNextRandomMatrix44 ( ) : Matrix44

Helper function for getting the next random Matrix44.

Matrix44Tests ( ) : System

Static constructor used to ensure that the random number generator always gets initilised with the same seed, making the tests behave in a deterministic manner.

TestAddition ( Matrix44 a, Matrix44 b, Matrix44 expected ) : void

Helper method for testing addition.

TestConstant_Identity_i ( ) : void
TestEquality ( Matrix44 a, Matrix44 b, System.Boolean expected ) : void

Helper method for testing equality.

TestMemberFn_GetHashCode ( ) : void
TestMemberFn_ToString ( ) : void
TestMultiplication ( Matrix44 a, Matrix44 b, Matrix44 expected ) : void

Helper method for testing multiplication.

TestNegation ( Matrix44 a, Matrix44 expected ) : void

Helper method for testing negation.

TestOperator_Addition_i ( ) : void
TestOperator_Addition_ii ( ) : void
TestOperator_Addition_iii ( ) : void
TestOperator_Addition_iv ( ) : void
TestOperator_Equality_i ( ) : void
TestOperator_Equality_ii ( ) : void
TestOperator_Equality_iii ( ) : void
TestOperator_Multiplication_i ( ) : void
TestOperator_Multiplication_ii ( ) : void
TestOperator_Negation_i ( ) : void
TestOperator_Negation_ii ( ) : void
TestOperator_Negation_iii ( ) : void
TestOperator_Negation_iv ( ) : void
TestOperator_Subtraction_i ( ) : void
TestOperator_Subtraction_ii ( ) : void
TestOperator_Subtraction_iii ( ) : void
TestStaticFn_CreateBillboard_i ( ) : void
TestStaticFn_CreateConstrainedBillboard_i ( ) : void
TestStaticFn_CreateFromAxisAngle_i ( ) : void
TestStaticFn_CreateFromCartesianAxes_i ( ) : void
TestStaticFn_CreateFromQuaternion_i ( ) : void
TestStaticFn_CreateFromQuaternion_ii ( ) : void
TestStaticFn_CreateFromQuaternion_iii ( ) : void
TestStaticFn_CreateFromYawPitchRoll_i ( ) : void
TestStaticFn_CreateLookAt_i ( ) : void
TestStaticFn_CreateOrthographicOffCenter_i ( ) : void
TestStaticFn_CreateOrthographic_i ( ) : void
TestStaticFn_CreatePerspectiveFieldOfView_i ( ) : void
TestStaticFn_CreatePerspectiveOffCenter_i ( ) : void
TestStaticFn_CreatePerspective_i ( ) : void
TestStaticFn_CreateRotationX_i ( ) : void
TestStaticFn_CreateRotationY_i ( ) : void
TestStaticFn_CreateRotationZ_i ( ) : void
TestStaticFn_CreateScale_i ( ) : void
TestStaticFn_CreateScale_ii ( ) : void
TestStaticFn_CreateScale_iii ( ) : void
TestStaticFn_CreateTranslation_i ( ) : void
TestStaticFn_CreateTranslation_ii ( ) : void
TestStaticFn_CreateWorld_i ( ) : void
TestStaticFn_Decompose_i ( ) : void
TestStaticFn_Determinant_i ( ) : void
TestStaticFn_Invert_i ( ) : void
TestStaticFn_Lerp_i ( ) : void
TestStaticFn_Lerp_ii ( ) : void
TestStaticFn_Transform_i ( ) : void
TestStaticFn_Transpose_i ( ) : void
TestSubtraction ( Matrix44 a, Matrix44 b, Matrix44 expected ) : void

Helper method for testing subtraction.

Test_Constructors ( ) : void
Test_StructLayout_i ( ) : void
Test_StructLayout_ii ( ) : void