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(System.Object)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- obj
- Type: System Object
Return Value
Type: BooleanRemarks
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