public void ShouldPartiallyInitializeValueType() { var someValueType = new SomeValueType(1); Assert.AreEqual(1, someValueType.X); Assert.AreEqual(0, someValueType.Y); }
public SomeValueType(int x) { this = new SomeValueType(); X = x; }