public void TestVector2WithY() { // Arrange. var u = new Vector2(X, Y); const int NewY = 4; // Act. var v = u.WithY(NewY); // Assert. Assert.AreEqual(u.x, v.x); Assert.AreEqual(NewY, v.y); }