public void NotEquals() { var transformA = new Transform2D(new Position2D(2, 3)); var transformB = new Transform2D(new Position2D(5, 1)); transformA.Equals(transformB).Should().BeFalse(); }
public void Equals() { var transformA = new Transform2D(new Position2D(0, 1), 4f, new Vector2(2, 1)); var transformB = new Transform2D(new Position2D(0, 1), 4f, new Vector2(2, 1)); transformA.Equals(transformB).Should().BeTrue(); }