Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.MatrixTests
1 unit tests call DeltaEngine.Datatypes.Matrix.Equals(DeltaEngine.Datatypes.Matrix)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- other
- Type: DeltaEngine.Datatypes Matrix
Return Value
Type: BooleanImplements
IEquatable T Equals(T)Remarks
Examples
[Test] public void AreEqual() { var matrix2 = new Matrix(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15); Assert.IsTrue(matrix == matrix2); Assert.IsTrue(matrix.Equals(matrix2)); matrix2[5] = 20; Assert.IsTrue(matrix != matrix2); object pointAsObject = Vector2D.One; Assert.IsFalse(matrix.Equals(pointAsObject)); }
See Also