public void Equals__Not_Equal() { VectorType vectorType = new VectorType(); vectorType.X = 1; vectorType.Y = 2; vectorType.Z = 3; VectorType other = new VectorType(); other.X = 100; other.Y = 2; other.Z = 3; Assert.IsFalse(vectorType.Equals(other)); }
public void Equals() { VectorType vectorType = new VectorType(); vectorType.X = 1; vectorType.Y = 2; vectorType.Z = 3; VectorType other = new VectorType(); other.X = 1; other.Y = 2; other.Z = 3; Assert.IsTrue(vectorType.Equals(other)); }